petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscInfoGetInfo

Returns the current state of several important flags for PetscInfo()

Synopsis

#include "petscsys.h"   
PetscErrorCode PetscInfoGetInfo(PetscBool *infoEnabled, PetscBool *classesSet, PetscBool *exclude, PetscBool *locked, PetscInfoCommFlag *commSelfFlag)
Not Collective

Output Parameters

infoEnabled - PETSC_TRUE if PetscInfoAllow(PETSC_TRUE) has been called
classesSet - PETSC_TRUE if the list of classes to filter for has been set
exclude - PETSC_TRUE if the class filtering for PetscInfo() is inverted
locked - PETSC_TRUE if the list of classes to filter for has been locked
commSelfFlag - Enum indicating whether PetscInfo() will print for communicators of size 1, any size != 1, or all communicators

Notes

Initially commSelfFlag = PETSC_INFO_COMM_ALL

See Also

PetscInfo(), PetscInfoAllow(), PetscInfoSetFilterCommSelf, PetscInfoSetFromOptions()

Level

developer

Location

src/sys/info/verboseinfo.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages