#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMAdaptMetric(DM dm, Vec metric, DMLabel bdLabel, DM *dmAdapt)
dm | - The DM object | |
metric | - The metric to which the mesh is adapted, defined vertex-wise. | |
bdLabel | - Label for boundary tags, which will be preserved in the output mesh. bdLabel should be NULL if there is no such label, and should be different from "_boundary_". |
Note: The label in the adapted mesh will be registered under the name of the input DMLabel object
Level:advanced
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages