petsc-3.14.6 2021-03-30
DMGetCoarsenLevel
Get's 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
Output Parameter
| level | - number of coarsenings
|
See Also
DMCoarsen(), DMGetRefineLevel(), DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation()
Level
developer
Location
src/dm/interface/dm.c
Examples
src/snes/tutorials/ex48.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages