The main implementation of an operator to be used in a Assembler. More...
#include <LocalOperator.hpp>
Inherited by GridFunctionOperatorBase< Derived, LC, GF >.
Public Types | |
using | LocalContext = LC |
The element or intersection the operator is assembled on. | |
using | Element = typename ContextType::Entity |
The codim=0 grid entity. | |
using | Geometry = typename Element::Geometry |
The geometry of the Element. | |
Public Member Functions | |
template<class GridView > | |
void | init (GridView const &gridView) |
Initialize the local operator on the current gridView. | |
void | bind (Element const &element, Geometry const &geometry) |
Binds operator to element and geometry . More... | |
void | unbind () |
Unbinds operator from element. | |
template<class CG , class RN , class CN , class Mat > | |
void | calculateElementMatrix (CG const &contextGeo, RN const &rowNode, CN const &colNode, Mat &elementMatrix) |
Assemble a local element matrix on the element that is bound. More... | |
template<class CG , class Node , class Vec > | |
void | calculateElementVector (CG const &contextGeo, Node const &node, Vec &elementVector) |
Assemble a local element vector on the element that is bound. More... | |
Derived & | derived () |
Derived const & | derived () const |
Protected Member Functions | |
template<class GridView > | |
void | init_impl (GridView const &) |
template<class Element , class Geometry > | |
void | bind_impl (Element const &, Geometry const &) |
void | unbind_impl () |
template<class RN , class CN > | |
int | getDegree (int derivOrder, int coeffDegree, RN const &rowNode, CN const &colNode) const |
Return the quadrature degree for a matrix operator. More... | |
template<class Node > | |
int | getDegree (int derivOrder, int coeffDegree, Node const &node) const |
Return the quadrature degree for a vector operator. More... | |
Protected Attributes | |
bool | isSimplex_ = false |
bool | isAffine_ = false |
bool | bound_ = false |
The main implementation of an operator to be used in a Assembler.
The CRTP Base class for local operators.
Derived | The class that derives from this base class |
LC | The type of the element or intersection the operator is evaluated on |