5 #include <dune/common/dynmatrix.hh> 6 #include <dune/common/dynvector.hh> 8 #include <amdis/ContextGeometry.hpp> 12 template <
class LC,
class C>
15 using LocalContext = LC;
16 using ElementContainer = C;
20 template <
class Traits,
class... Nodes>
23 using LocalContext =
typename Traits::LocalContext;
24 using ContextType = Impl::ContextTypes<LocalContext>;
28 using Element =
typename ContextType::Entity;
32 static constexpr
int numNodes =
sizeof...(Nodes);
33 static_assert( numNodes == 1 || numNodes == 2,
34 "VectorAssembler gets 1 Node, MatrixAssembler gets 2 Nodes!");
41 virtual void bind(
Element const& element,
Geometry const& geometry) = 0;
44 virtual void unbind() = 0;
47 virtual void assemble(
typename Traits::LocalContext
const& localContext,
48 Nodes
const&... nodes,
49 typename Traits::ElementContainer& elementMatrixVector) = 0;
typename Element::Geometry Geometry
The geometry of the Element.
Definition: AssemblerInterface.hpp:30
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
Definition: AssemblerInterface.hpp:13
Abstract base-class of a Assembler.
Definition: AssemblerInterface.hpp:21
typename ContextType::Entity Element
The codim=0 grid entity.
Definition: AssemblerInterface.hpp:28