# PetscInfoGetClass Indicates whether the provided classname is marked as a filter in `PetscInfo()` as set by `PetscInfoSetClasses()` ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscInfoGetClass(const char *classname, PetscBool *found) ``` Not Collective ## Input Parameter - ***classname -*** Name of the class to search for ## Output Parameter - ***found -*** `PetscBool` indicating whether the classname was found ## Note Use `PetscObjectGetName()` to retrieve an appropriate classname ## See Also `PetscInfo()`, `PetscInfoSetClasses()`, `PetscInfoSetFromOptions()`, `PetscObjectGetName()` ## Level developer ## Location src/sys/info/verboseinfo.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/info/verboseinfo.c) [Index of all Profiling routines](index.md) [Table of Contents for all manual pages](/docs/manualpages/index.md) [Index of all manual pages](/docs/manualpages/singleindex.md)