RGGetType#
Gets the RG type name (as a string) from the RG context.
Synopsis#
#include "slepcrg.h"
PetscErrorCode RGGetType(RG rg,RGType *type)
Not Collective
Input Parameter#
rg - the region context
Output Parameter#
type - name of the region
Note#
type should not be retained for later use as it will be an invalid pointer
if the RGType of rg is changed.
See Also#
RG: Region, RGSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()
Level#
beginner
Location#
src/sys/classes/rg/interface/rgbasic.c
Index of all RG routines Table of Contents for all manual pages Index of all manual pages