#include "petscdmplex.h" PetscErrorCode DMPlexMetricCreate(DM dm, PetscInt f, Vec *metric)
dm | - The DM | |
f | - The field number to use |
metric | - The metric |
It is assumed that the DM is comprised of simplices.
-dm_plex_metric_isotropic | - Is the metric isotropic? | |
-dm_plex_metric_uniform | - Is the metric uniform? | |
-dm_plex_metric_restrict_anisotropy_first | - Should anisotropy be restricted before normalization? | |
-dm_plex_metric_h_min | - Minimum tolerated metric magnitude | |
-dm_plex_metric_h_max | - Maximum tolerated metric magnitude | |
-dm_plex_metric_a_max | - Maximum tolerated anisotropy | |
-dm_plex_metric_p | - L-p normalization order | |
-dm_plex_metric_target_complexity | - Target metric complexity |
Switching between remeshers can be achieved using
-dm_adaptor <pragmatic/mmg/parmmg> | - specify dm adaptor to use |
-dm_plex_metric_gradation_factor | - Maximum ratio by which edge lengths may grow during gradation | |
-dm_plex_metric_num_iterations | - Number of parallel mesh adaptation iterations for ParMmg | |
-dm_plex_metric_no_insert | - Should node insertion/deletion be turned off? | |
-dm_plex_metric_no_swap | - Should facet swapping be turned off? | |
-dm_plex_metric_no_move | - Should node movement be turned off? | |
-dm_plex_metric_verbosity | - Choose a verbosity level from -1 (silent) to 10 (maximum). |