The base-template for GridFunctionOperators. More...
#include <GridFunctionOperator.hpp>
Inherits GridFunctionOperatorBase< GridFunctionOperator< Tag, LC, GridFct >, LC, GridFct >.
Additional Inherited Members | |
Public Types inherited from LocalOperator< GridFunctionOperator< Tag, LC, GridFct >, LC > | |
| 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 inherited from GridFunctionOperatorBase< GridFunctionOperator< Tag, LC, GridFct >, LC, GridFct > | |
| GridFunctionOperatorBase (GridFct &&gridFct, int termOrder) | |
Constructor. Stores a copy of gridFct. More... | |
| void | setQuadFactory (PQF &&pre) |
Public Member Functions inherited from LocalOperator< GridFunctionOperator< Tag, LC, GridFct >, LC > | |
| 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. | |
| 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... | |
| void | calculateElementVector (CG const &contextGeo, Node const &node, Vec &elementVector) |
| Assemble a local element vector on the element that is bound. More... | |
| GridFunctionOperator< Tag, LC, GridFct > & | derived () |
| GridFunctionOperator< Tag, LC, GridFct > const & | derived () const |
Protected Member Functions inherited from GridFunctionOperatorBase< GridFunctionOperator< Tag, LC, GridFct >, LC, GridFct > | |
| auto | coefficient (LocalCoordinate const &local) const |
| Return expression value at LocalCoordinates. | |
| auto const & | getQuadratureRule (Dune::GeometryType type, Nodes const &... nodes) const |
Protected Member Functions inherited from LocalOperator< GridFunctionOperator< Tag, LC, GridFct >, LC > | |
| void | init_impl (GridView const &) |
| void | bind_impl (Element const &, Geometry const &) |
| void | unbind_impl () |
| int | getDegree (int derivOrder, int coeffDegree, RN const &rowNode, CN const &colNode) const |
| Return the quadrature degree for a matrix operator. More... | |
| int | getDegree (int derivOrder, int coeffDegree, Node const &node) const |
| Return the quadrature degree for a vector operator. More... | |
Protected Attributes inherited from LocalOperator< GridFunctionOperator< Tag, LC, GridFct >, LC > | |
| bool | isSimplex_ |
| bool | isAffine_ |
| bool | bound_ |
The base-template for GridFunctionOperators.
An operator can specialize this class, by deriving from GridFunctionOperatorBase. With the generic function makeLocalOperator, an instance is created. To distinguisch different GridFunction operators, a tag can be provided that has no other effect.
| Tag | An Identifier for this GridFunctionOperator |
| LC | An Element or Intersection the operator is evaluated on |
| GridFct | A GridFunction evaluated in local coordinates on the bound element |