petsc-3.12.5 2020-03-29
Report Typos and Errors

DMGetRefineLevel

Get's the number of refinements that have generated this DM.

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode  DMGetRefineLevel(DM dm,PetscInt *level)
Not Collective

Input Parameter

dm -the DM object

Output Parameter

level -number of refinements

See Also

DMCoarsen(), DMGetCoarsenLevel(), DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation()

Level

developer

Location

src/dm/interface/dm.c

Examples

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

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages