Class template Dune::GDT::AdaptationHelper<V, GV, r, rC, RF>¶
Inherits from Dune::XT::Common::WithLogger.
-
template<class V, class GV, size_t r = 1, size_t rC = 1, class RF = double>
class Dune::GDT::AdaptationHelper<V, GV, r, rC, RF> : public XT::Common::WithLogger<AdaptationHelper<V, GV, r, rC, RF>>¶ Manages the persistence and prolongation/restriction of discrete functions and their spaces across grid adaptation (pre_adapt, adapt, post_adapt).
To do
Only depend on the grid type, use type erasure to allow to add arbitrary discrete functions, possibly implement this by element functors which are used in a grid walker.
Method Dune::GDT::AdaptationHelper::append¶
-
template<class V, class GV, size_t r = 1, size_t rC = 1, class RF = double>
ThisType &Dune::GDT::AdaptationHelper<V, GV, r, rC, RF>::append(SpaceType &space, DiscreteFunctionType &discrete_function)¶ No documentation provided.
Method Dune::GDT::AdaptationHelper::pre_adapt¶
Method Dune::GDT::AdaptationHelper::adapt¶
Method Dune::GDT::AdaptationHelper::post_adapt¶
Constructor Dune::GDT::AdaptationHelper::AdaptationHelper¶
-
template<class V, class GV, size_t r = 1, size_t rC = 1, class RF = double>
explicit Dune::GDT::AdaptationHelper<V, GV, r, rC, RF>::AdaptationHelper(G &grd, const std::string &logging_prefix = "", const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())¶ No documentation provided.
Field Dune::GDT::AdaptationHelper::grid_¶
Field Dune::GDT::AdaptationHelper::data_¶
-
template<class V, class GV, size_t r = 1, size_t rC = 1, class RF = double>
std::shared_ptr<std::list<std::tuple<XT::Common::StorageProvider<SpaceType>, XT::Common::StorageProvider<DiscreteFunctionType>, PersistentContainer<G, std::pair<DynamicVector<RF>, DynamicVector<RF>>>, std::unique_ptr<typename DiscreteFunctionType::LocalDiscreteFunctionType>>>> Dune::GDT::AdaptationHelper<V, GV, r, rC, RF>::data_¶ No documentation provided.
Type alias Dune::GDT::AdaptationHelper::ThisType¶
Type alias Dune::GDT::AdaptationHelper::Logger¶
-
template<class V, class GV, size_t r = 1, size_t rC = 1, class RF = double>
using Dune::GDT::AdaptationHelper<V, GV, r, rC, RF>::Logger = XT::Common::WithLogger<AdaptationHelper<V, GV, r, rC, RF>>¶ No documentation provided.