PetscCookieRegister

Registers a new class name for objects and logging operations in an application code.

Synopsis

#include "petscsys.h"   
PetscErrorCode PETSC_DLLEXPORT PetscCookieRegister(const char name[],PetscCookie *oclass )
Not Collective

Input Parameter

name -The class name

Output Parameter

oclass -The class id or cookie

Keywords

log, class, register

Level:developer
Location:
src/sys/plog/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex48.c.html