#include "petscsys.h" PetscErrorCode PetscObjectTypeCompareAny(PetscObject obj,PetscBool *match,const char type_name[],...)Not Collective
obj | - any PETSc object, for example a Vec, Mat or KSP. This must be cast with a (PetscObject), for example, PetscObjectTypeCompareAny((PetscObject)mat,...); | |
type_name | - string containing a type name, pass the empty string "" to terminate the list |