DiFfRG
Loading...
Searching...
No Matches
DiFfRG::NoAdaptivity< VectorType > Class Template Reference

#include <no_adaptivity.hh>

Inheritance diagram for DiFfRG::NoAdaptivity< VectorType >:
DiFfRG::AbstractAdaptor< VectorType >

Public Member Functions

 NoAdaptivity ()
 
virtual bool operator() (const double, VectorType &) override
 Check if an adaptation step should be done and tranfer the given solution to the new mesh.
 
virtual bool adapt (VectorType &) override
 Force an adaptation and transfer the solution sol to the new mes.
 
- Public Member Functions inherited from DiFfRG::AbstractAdaptor< VectorType >

Constructor & Destructor Documentation

◆ NoAdaptivity()

template<typename VectorType >
DiFfRG::NoAdaptivity< VectorType >::NoAdaptivity ( )
inline

Member Function Documentation

◆ adapt()

template<typename VectorType >
virtual bool DiFfRG::NoAdaptivity< VectorType >::adapt ( VectorType & )
inlineoverridevirtual

Force an adaptation and transfer the solution sol to the new mes.

Parameters
solutionto be transferred

Implements DiFfRG::AbstractAdaptor< VectorType >.

◆ operator()()

template<typename VectorType >
virtual bool DiFfRG::NoAdaptivity< VectorType >::operator() ( const double ,
VectorType &  )
inlineoverridevirtual

Check if an adaptation step should be done and tranfer the given solution to the new mesh.

Parameters
tCurrent time; at adapt_dt time distances we perform an adaptation
solCurrent solution
Returns
true if adapation has happened, false otherwise

Implements DiFfRG::AbstractAdaptor< VectorType >.


The documentation for this class was generated from the following file: