6#include <amdis/DataTransfer.hpp>
8#include <dune/typetree/treecontainer.hh>
27template <
class Node,
class Container,
class Basis>
35template <
class Basis,
class Container>
40 using GridView =
typename Basis::GridView;
41 using Grid =
typename GridView::Grid;
43 using Element =
typename GridView::template Codim<0>::Entity;
44 using Geometry =
typename Element::Geometry;
45 using LocalCoordinate =
typename Geometry::LocalCoordinate;
46 using IdType =
typename Grid::LocalIdSet::IdType;
49 using NodeElementData =
typename NodeDataTransfer<Node, Container, Basis>::NodeElementData;
50 using ElementData = Dune::TypeTree::TreeContainer<NodeElementData,Tree>;
58 void preAdapt(Basis
const& basis, Container
const& coeff,
bool mightCoarsen);
65 void adapt(Basis
const& basis, Container& coeff);
74 using PersistentContainer = std::map<IdType, ElementData>;
75 PersistentContainer persistentContainer_{};
80 using NodeDataTransferContainer = Dune::TypeTree::TreeContainer<NDT,Tree>;
81 NodeDataTransferContainer nodeDataTransfer_{};
87 template <
class Basis,
class T,
template <
class>
class Impl,
88 REQUIRES(Concepts::GlobalBasis<Basis>)>
99#include "InterpolationDataTransfer.inc.hpp"
The base class for data transfer classes.
Definition: DataTransfer.hpp:68
Definition: InterpolationDataTransfer.hpp:37
void preAdapt(Basis const &basis, Container const &coeff, bool mightCoarsen)
Definition: InterpolationDataTransfer.inc.hpp:49
void postAdapt(Container &coeff)
Definition: InterpolationDataTransfer.inc.hpp:244
void adapt(Basis const &basis, Container &coeff)
Definition: InterpolationDataTransfer.inc.hpp:158
typename Super::Tree Tree
Tree of local finite elements / local shape function sets.
Definition: LocalView.hpp:24
Definition: InterpolationDataTransfer.inc.hpp:255
The basic container that stores a base vector and a corresponding basis.
Definition: VectorFacade.hpp:39
constexpr bool LocalView
A Dune::Functions::LocalView type.
Definition: Concepts.hpp:181
Definition: DataTransfer.hpp:133
Base tag type for all data transfer tags.
Definition: DataTransfer.hpp:121
Definition: InterpolationDataTransfer.hpp:21