:orphan:
# 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
 [](sec_PetscInfo), `PetscInfo()`, `PetscInfoSetClasses()`, `PetscInfoSetFromOptions()`, `PetscObjectGetName()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/info/verboseinfo.c.html#PetscInfoGetClass">src/sys/info/verboseinfo.c</A>


---
[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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
