[petsc-users] petsc4py: PetSc is no longer initialised when calling C Function from Cython

Lisandro Dalcin dalcinl at gmail.com
Fri Oct 21 08:53:12 CDT 2011


On 20 October 2011 19:34, Jeff Wiens <jeffrey.k.wiens at gmail.com> wrote:
>
> Thanks for your help. It saved me a LOT of time.
> Jeff
>

BTW, have you ever used SWIG? If the functions you need to wrap are
simple (let say, any PetscObject subtype and scalar paramenters) you
can get your wrappers with less code to write on your side.


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the petsc-users mailing list