3#include <amdis/common/ConceptsBase.hpp>
19 auto require(Data
const& data) ->
decltype(
20 const_cast<Data&
>(data).preAdapt(
true),
21 const_cast<Data&
>(data).postAdapt(
true)
27 template <
class Basis>
28 auto require(Basis
const& basis) ->
decltype(
29 const_cast<Basis&
>(basis).update(basis.gridView())
42 template <
class Basis>
45 template <
class Basis>
71 virtual void postAdapt() = 0;
Interface for transfer between grid changes.
Definition: AdaptionInterface.hpp:60
virtual bool preAdapt()=0
Prepare the grid and the data for the adaption.
virtual bool adapt()=0
Do the grid adaption.
Definition: AdaptionInterface.hpp:17
Definition: AdaptionInterface.hpp:26