:orphan: # PetscInfoCommFlag Describes the method by which to filter information displayed by `PetscInfo()` by communicator size ## Synopsis ``` typedef enum { PETSC_INFO_COMM_ALL = -1, PETSC_INFO_COMM_NO_SELF = 0, PETSC_INFO_COMM_ONLY_SELF = 1 } PetscInfoCommFlag; ``` ## Values - ***`PETSC_INFO_COMM_ALL` -*** Default uninitialized value. `PetscInfo()` will not filter based on communicator size (i.e. will print for all communicators) - ***`PETSC_INFO_COMM_NO_SELF` -*** `PetscInfo()` will NOT print for communicators with size = 1 (i.e. *_COMM_SELF) - ***`PETSC_INFO_COMM_ONLY_SELF` -*** `PetscInfo()` will ONLY print for communicators with size = 1 ## Note Used as an input for `PetscInfoSetFilterCommSelf()` ## See Also `PetscInfo()`, `PetscInfoSetFromOptions()`, `PetscInfoSetFilterCommSelf()` ## Level intermediate ## Location include/petsclog.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petsclog.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)