FNGetType#

Gets the FN type name (as a string) from the FN context.

Synopsis#

#include "slepcfn.h" 
PetscErrorCode FNGetType(FN fn,FNType *type)

Not Collective

Input Parameter#

  • fn - the math function context

Output Parameter#

  • type - name of the math function

Note#

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

See Also#

FN: Mathematical Functions, FNSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()

Level#

intermediate

Location#

src/sys/classes/fn/interface/fnbasic.c


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