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.


#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

Level: developer


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