#include <petscsys.h> PetscErrorCode PetscInfo(void *vobj, const char message[]) PetscErrorCode PetscInfo1(void *vobj, const char formatmessage[],arg1) PetscErrorCode PetscInfo2(void *vobj, const char formatmessage[],arg1,arg2) etcCollective over PetscObject argument
vobj | - object most closely associated with the logging statement or NULL | |
message | - logging message | |
formatmessage | - logging message using standard "printf" format |
-info : activates printing of PetscInfo() messages
Fortran Note: This function does not take the vobj argument, there is only the PetscInfo() version, not PetscInfo1() etc.
Mat A
double alpha
PetscInfo1(A,"Matrix uses parameter alpha=%g\n",alpha);
Level:intermediate
Location:src/sys/info/verboseinfo.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages