#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