![]() |
ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
|
#include <include/ryujin/interface/mesh_adaptor.h>


Public Types | |
Typedefs | |
| using | Transformation = typename Discretization< dim >::Transformation |
Public Member Functions | |
Setup | |
| virtual void | prepare (const Number t)=0 |
Functions for performing mesh adaptation | |
| virtual void | analyze (const StateVector< Number > &state_vector, const Number t, unsigned int cycle)=0 |
| virtual void | mark_cells_for_coarsening_and_refinement (dealii::Triangulation< dim > &triangulation) const =0 |
| virtual void | update_transformation (Transformation &transformation) const =0 |
Information and statistics | |
| bool | need_mesh_adaptation_ |
| MeshAdaptor (const std::string &subsection) | |
The interface of a MeshAdaptor: it decides, based on the current state, whether a mesh adaptation cycle should be performed, marks cells for coarsening and refinement, and/or may replace the transformation of the Discretization, i.e., change the geometry.
Definition at line 31 of file mesh_adaptor.h.
| using ryujin::Interface::MeshAdaptor< dim, Number >::Transformation = typename Discretization<dim>::Transformation |
Definition at line 39 of file mesh_adaptor.h.
|
inlineexplicitprotected |
A boolean indicating whether we should perform a mesh adaptation step in the current cycle. The analyze() method sets this boolean to true whenever an adaptation cycle should be performed. Constructor.
Definition at line 100 of file mesh_adaptor.h.
|
pure virtual |
Prepare temporary storage and clean up internal data for the analyze() facility.
Implemented in ryujin::MeshAdaptor< dim, Number >.
|
pure virtual |
Analyze the given StateVector and decide whether a mesh adaptation cycle should be performed. The result is available through need_mesh_adaptation().
Implemented in ryujin::MeshAdaptor< dim, Number >.
|
pure virtual |
Mark cells for coarsening and refinement.
Implemented in ryujin::MeshAdaptor< dim, Number >.
|
pure virtual |
Update the transformation of the Discretization that maps points of the triangulation to the actual geometry.
|
protected |
Whether a mesh adaptation step should be performed in the current cycle.
Definition at line 112 of file mesh_adaptor.h.