petsc-3.9.4 2018-09-11
Report Typos and Errors

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

PetscObjectSetTabLevel(), 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