The base class for a local operator to be used in a Assembler. More...
#include <LocalOperator.hpp>
Inherits Base.
Public Types | |
using | MatVec = typename Traits::ElementContainer |
Type of the element matrix or element vector. | |
using | ContextGeo = ContextGeometry< typename Traits::LocalContext > |
The geometry of the local context, see ContextGeometry. | |
using | Element = typename ContextGeo::Element |
The grid entity of codim=0. | |
Public Member Functions | |
template<class Impl , Dune::disableCopyMove< LocalOperator, Impl > = 0> | |
LocalOperator (Impl &&impl) | |
Constructor. Pass any type supporting the LocalOperatorInterface. | |
LocalOperator ()=default | |
Default Constructor. | |
void | bind (Element const &element) |
Binds the local operator to an element . More... | |
void | unbind () |
Unbinds operator from element. | |
void | assemble (ContextGeo const &cg, Nodes const &... ns, MatVec &mv) const |
Assemble a local element matrix or vector on the element that is bound. More... | |
The base class for a local operator to be used in a Assembler.
Type-erasure base class for local operators.
Traits | Parameters for the LocalOperator collected in a class. See Impl::OperatorTraits. |
Nodes... | Basis node (pair) the operator is associated to. |
|
inline |
Assemble a local element matrix or vector on the element that is bound.
contextGeo | Container for geometry related data, ContextGeometry |
nodes... | The node(s) of the test-basis (and trial-basis) |
mv | Element-matrix or vector |
Referenced by LocalOperatorAdapter< LocalOperator, RowTreePath, ColTreePath >::assemble(), and BoundaryLocalOperator< LocalOperator, Intersection >::assemble().
|
inline |
Binds the local operator to an element
.
Binding an operator to the currently visited element in grid traversal.
Referenced by BoundaryLocalOperator< LocalOperator, Intersection >::bind(), and LocalOperatorAdapter< LocalOperator, RowTreePath, ColTreePath >::bind().