PetscCObjectToFortranObject
Converts a PETSc object represented in C to one appropriate to pass to a Fortran routine.
Synopsis
int PetscCObjectToFortranObject(void *cobj,PetscFortranAddr *fobj)
Not
collective
Input Parameter
cobj -the PETSc C object
Output Parameter
fobj -the PETSc Fortran object
Notes
PetscCObjectToFortranObject() must be called in a C/C++ routine.
See examples petsc/src/vec/examples/ex24.c and ex24f.
F
Keywords
Fortran, C, object, convert, interlanguage
See Also
PetscFortranObjectToCObject()
Location: src/fortran/custom/zoptions.c
System Index
Table of Contents