petsc-3.3-p7 2013-05-11

PetscObjectIncrementTabLevel

Sets the number of tabs that ASCII output for that object use based on the tablevel of another object. This should be called immediately after the object is created.

Synopsis

#include "petscsys.h"    
PetscErrorCode  PetscObjectIncrementTabLevel(PetscObject obj,PetscObject oldobj,PetscInt tab)
Not Collective

Input Parameter

obj - any PETSc object where we are changing the tab
oldobj - the object providing the tab
tab - the increment that is added to the old objects tab

Notes: this is used to manage the output from options that are imbedded in other objects. For example the KSP object inside a SNES object. By indenting each lower level further the heirarchy of objects is very clear.

See Also

PetscObjectSetLabLevel(), PetscObjectGetTabLevel()

Level:developer
Location:
src/sys/objects/gcomm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages