NoAdaptivity< VectorType > Class Template Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
DiFfRG::NoAdaptivity< VectorType > Class Template Reference
#include <no_adaptivity.hh>
Inheritance diagram for DiFfRG::NoAdaptivity< VectorType >:
Public Member Functions | |
| NoAdaptivity () | |
| template<typename AssemblerOrDiscretization > requires (!std::same_as<std::remove_cvref_t<AssemblerOrDiscretization>, NoAdaptivity>) && std::same_as<typename std::remove_cvref_t<AssemblerOrDiscretization>::VectorType, VectorType> | |
| NoAdaptivity (const AssemblerOrDiscretization &) | |
| Deduction-only constructor. | |
| virtual | ~NoAdaptivity ()=default |
| 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 > | |
| virtual | ~AbstractAdaptor ()=default |
Constructor & Destructor Documentation
◆ NoAdaptivity() [1/2]
template<typename VectorType >
|
inline |
◆ NoAdaptivity() [2/2]
template<typename VectorType >
template<typename AssemblerOrDiscretization >
requires (!std::same_as<std::remove_cvref_t<AssemblerOrDiscretization>, NoAdaptivity>) && std::same_as<typename std::remove_cvref_t<AssemblerOrDiscretization>::VectorType, VectorType>
requires (!std::same_as<std::remove_cvref_t<AssemblerOrDiscretization>, NoAdaptivity>) && std::same_as<typename std::remove_cvref_t<AssemblerOrDiscretization>::VectorType, VectorType>
|
inlineexplicit |
Deduction-only constructor.
NoAdaptivity needs nothing from the assembler; taking one lets a driver write NoAdaptivity mesh_adaptor(assembler); next to HAdaptivity mesh_adaptor(assembler, json); instead of respelling VectorType. The first constraint keeps this template from hijacking the copy constructor, the second turns a mismatched argument into a clean substitution failure rather than a silently wrong adaptor.
◆ ~NoAdaptivity()
template<typename VectorType >
|
virtualdefault |
Member Function Documentation
◆ adapt()
template<typename VectorType >
|
inlineoverridevirtual |
Force an adaptation and transfer the solution sol to the new mes.
- Parameters
-
solution to be transferred
Implements DiFfRG::AbstractAdaptor< VectorType >.
◆ operator()()
template<typename VectorType >
|
inlineoverridevirtual |
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
Implements DiFfRG::AbstractAdaptor< VectorType >.
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/mesh/no_adaptivity.hh
Generated by
Public Member Functions inherited from