:orphan: # PetscInfoDeactivateClass Deactivates `PetscInfo()` messages for a PETSc object class. ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscInfoDeactivateClass(PetscClassId classid) ``` Not Collective ## Input Parameter - ***classid -*** The object class, e.g., `MAT_CLASSID`, `SNES_CLASSID`, etc. ## Options Database Key - ***-info [filename][:[~][:[~]self]] -*** specify which informative messages are printed, See `PetscInfo()`. ## Note One can pass 0 to deactivate all messages that are not associated with an object. ## See Also [](sec_PetscInfo), `PetscInfoActivateClass()`, `PetscInfo()`, `PetscInfoAllow()`, `PetscInfoSetFromOptions()` ## Level developer ## Location src/sys/info/verboseinfo.c ## Examples src/mat/tutorials/ex7.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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)