#include <ConvectionDiffusionOperator.hpp>
Public Member Functions | |
ConvectionDiffusionOperator (GridFctA const &gridFctA, GridFctB const &gridFctB, GridFctC const &gridFctC, GridFctF const &gridFctF) | |
template<class CG , class RN , class CN , class Mat > | |
void | getElementMatrix (CG const &contextGeo, RN const &rowNode, CN const &colNode, Mat &elementMatrix) |
template<class CG , class Node , class Vec > | |
void | getElementVector (CG const &contextGeo, Node const &node, Vec &elementVector) |
Public Member Functions inherited from LocalOperator< ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving >, 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... | |
ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving > & | derived () |
ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving > const & | derived () const |
Additional Inherited Members | |
Public Types inherited from LocalOperator< ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving >, 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 Member Functions inherited from LocalOperator< ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving >, 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< ConvectionDiffusionOperator< LC, GridFctA, GridFctB, GridFctC, GridFctF, conserving >, LC > | |
bool | isSimplex_ |
bool | isAffine_ |
bool | bound_ |
convection-diffusion operator, see convectionDiffusion <A*grad(u),grad(v)> - <b*u, grad(v)> + <c*u, v> = <f, v> (conserving) or <A*grad(u),grad(v)> + <b*grad(u), v> + <c*u, v> = <f, v> (non conserving)