petsc-3.13.6 2020-09-29
PetscClassIdRegister
Registers a new class name for objects and logging operations in an Section 1.5 Writing Application Codes with PETSc code.
Synopsis
#include "petscsys.h"
PetscErrorCode PetscClassIdRegister(const char name[],PetscClassId *oclass)
Not Collective
Input Parameter
name -The class name
Output Parameter
oclass -The class id or classid
Level
developer
Location
src/sys/logging/plog.c
Examples
src/snes/tutorials/ex48.c.html
src/ts/tutorials/ex14.c.html
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages