Get the desired amount of grading in the mesh, e.g. give 2 to indicate that the diameter of neighboring cells should differ by at most a factor of 2. Subtypes of DMForest may only support one particular choice of grading factor.
PetscErrorCode DMForestGetGradeFactor(DM dm, PetscInt *grade)
dm -the forest
grade -the grading factor
Index of all DMFOREST routines
Table of Contents for all manual pages
Index of all manual pages