AMDiS  0.3
The Adaptive Multi-Dimensional Simulation Toolbox
GridFunctionOperator< tag::testvec_trialvec, LC, GridFct > Class Template Reference

zero-order operator \( \langle\Psi, c\,\Phi\rangle \), or \( \langle\Psi, A\,\Phi\rangle \) More...

#include <ZeroOrderTestvecTrialvec.hpp>

Inherits GridFunctionOperatorBase< GridFunctionOperator< tag::testvec_trialvec, LC, GridFct >, LC, GridFct >.

Public Member Functions

 GridFunctionOperator (tag::testvec_trialvec, GridFct const &expr)
 
template<class CG , class RN , class CN , class Mat >
void getElementMatrix (CG const &contextGeo, RN const &rowNode, CN const &colNode, Mat &elementMatrix)
 
- Public Member Functions inherited from GridFunctionOperatorBase< GridFunctionOperator< tag::testvec_trialvec, 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::testvec_trialvec, 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::testvec_trialvec, LC, GridFct > & derived ()
 
GridFunctionOperator< tag::testvec_trialvec, LC, GridFct > const & derived () const
 

Protected Member Functions

template<class CG , class QR , class RN , class CN , class Mat >
void getElementMatrixStandard (CG const &contextGeo, QR const &quad, RN const &rowNode, CN const &colNode, Mat &elementMatrix, tag::scalar)
 
template<class CG , class QR , class RN , class CN , class Mat >
void getElementMatrixOptimized (CG const &contextGeo, QR const &quad, RN const &node, CN const &, Mat &elementMatrix, tag::scalar)
 
template<class CG , class QR , class RN , class CN , class Mat >
void getElementMatrixStandard (CG const &contextGeo, QR const &quad, RN const &rowNode, CN const &colNode, Mat &elementMatrix, tag::matrix)
 
template<class CG , class QR , class RN , class CN , class Mat >
void getElementMatrixOptimized (CG const &contextGeo, QR const &quad, RN const &node, CN const &, Mat &elementMatrix, tag::matrix)
 
- Protected Member Functions inherited from GridFunctionOperatorBase< GridFunctionOperator< tag::testvec_trialvec, 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::testvec_trialvec, 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...
 

Additional Inherited Members

- Public Types inherited from LocalOperator< GridFunctionOperator< tag::testvec_trialvec, 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.
 
- Protected Attributes inherited from LocalOperator< GridFunctionOperator< tag::testvec_trialvec, LC, GridFct >, LC >
bool isSimplex_
 
bool isAffine_
 
bool bound_
 

Detailed Description

template<class LC, class GridFct>
class AMDiS::GridFunctionOperator< tag::testvec_trialvec, LC, GridFct >

zero-order operator \( \langle\Psi, c\,\Phi\rangle \), or \( \langle\Psi, A\,\Phi\rangle \)


The documentation for this class was generated from the following file: