Implement a simple interface to do all adaptivity tasks, i.e. solution transfer, reinit of dofHandlers, etc.
More...
#include <abstract_adaptor.hh>
|
virtual bool | operator() (const double t, VectorType &sol)=0 |
| Check if an adaptation step should be done and tranfer the given solution to the new mesh.
|
|
virtual bool | adapt (VectorType &solution)=0 |
| Force an adaptation and transfer the solution sol to the new mes.
|
|
template<typename VectorType>
class DiFfRG::AbstractAdaptor< VectorType >
Implement a simple interface to do all adaptivity tasks, i.e. solution transfer, reinit of dofHandlers, etc.
- Template Parameters
-
Assembler | The used assembler should implement the methods refinement_indicator and reinit |
◆ adapt()
template<typename VectorType >
◆ operator()()
template<typename VectorType >
Check if an adaptation step should be done and tranfer the given solution to the new mesh.
- Parameters
-
t | Current time; at adapt_dt time distances we perform an adaptation |
sol | Current solution |
- Returns
- true if adapation has happened, false otherwise
Implemented in DiFfRG::NoAdaptivity< VectorType >.
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG/DiFfRG/DiFfRG/include/DiFfRG/discretization/common/abstract_adaptor.hh