#include "petscdmadaptor.h" PetscErrorCode DMAdaptorAdapt(DMAdaptor adaptor, Vec x, DMAdaptationStrategy strategy, DM *adm, Vec *ax)Not collective
adaptor | - The DMAdaptor object | |
x | - The global approximate solution | |
strategy | - The adaptation strategy |
adm | - The adapted DM | |
ax | - The adapted solution |
1) Adapt the intial mesh until a quality metric, e,g, a priori error bound, is satisfied
2) Solve the problem on a series of adapted meshes until a quality metric, e.g. a posteriori error bound, is satisfied
3) Solve the problem on a hierarchy of adapted meshes generated to satisfy a quality metric using multigrid
-snes_adapt <strategy> : initial, sequential, multigrid | - . -adapt_gradient_view : View the Clement interpolant of the solution gradient | |
-adapt_hessian_view : View the Clement interpolant of the solution Hessian | - - -adapt_metric_view : View the metric tensor for adaptive mesh refinement |