PetscFortranObjectToCObject

Converts a PETSc object represented in Fortran to one appropriate for C.

Synopsis

int PetscFortranObjectToCObject(PetscFortranAddr fobj,void *cobj)
Not collective

Input Parameter

fobj -the PETSc Fortran object

Output Parameter

cobj -the PETSc C object

Notes

PetscCObjectToFortranObject() must be called in a C/C++ routine. See examples petsc/src/vec/examples/tutorials/ex7.c and ex7f. F

Keywords

Fortran, C, object, convert, interlanguage

See Also

PetscCObjectToFortranObject()

Location: src/fortran/custom/zoptions.c
System Index
Table of Contents