DMGetCoarsenLevel#

Gets the number of coarsenings that have generated this DM.

Synopsis#

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

Not Collective

Input Parameter#

  • dm - the DM object

Output Parameter#

  • level - number of coarsenings

See Also#

DM Basics, DM, DMCoarsen(), DMSetCoarsenLevel(), DMGetRefineLevel(), DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation()

Level#

developer

Location#

src/dm/interface/dm.c

Examples#

src/snes/tutorials/ex48.c
src/ts/tutorials/ex30.c


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