PFGetType#

Gets the PFType name (as a string) from the PF context.

Synopsis#

#include "petscpf.h" 
PetscErrorCode PFGetType(PF pf, PFType *type)

Not Collective

Input Parameter#

  • pf - the function context

Output Parameter#

  • type - name of function

Note#

type should not be retained for later use as it will be an invalid pointer if the PFType of pf is changed.

See Also#

PF, PFSetType(), PFType, PetscObjectTypeCompare(), PetscObjectTypeCompareAny()

Level#

intermediate

Location#

src/vec/pf/interface/pf.c


Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages