AMDiS  2.10
The Adaptive Multi-Dimensional Simulation Toolbox
LocalOperatorAdapter< LocalOperator, RowTreePath, ColTreePath > Class Template Reference

The local operator associated to the OperatorAdapter. More...

#include <OperatorAdapter.hpp>

Public Member Functions

 LocalOperatorAdapter (LocalOperator const &lop, RowTreePath rowTp, ColTreePath colTp={})
 Constructor, stores all the arguments in local variables.
 
template<class Element >
void bind (Element const &element)
 Binds the local operator to an element. More...
 
void unbind ()
 Unbinds operator from element.
 
template<class ContextGeo , class RowNode , class ColNode , class Mat >
void assemble (ContextGeo const &cg, RowNode const &row, ColNode const &col, Mat &mat) const
 Assemble a local element matrix on the element that is bound. More...
 
template<class ContextGeo , class Node , class Vec >
void assemble (ContextGeo const &cg, Node const &node, Vec &vec) const
 Assemble a local element vector on the element that is bound. More...
 

Detailed Description

template<class LocalOperator, class RowTreePath, class ColTreePath = RowTreePath>
class AMDiS::LocalOperatorAdapter< LocalOperator, RowTreePath, ColTreePath >

The local operator associated to the OperatorAdapter.

Member Function Documentation

◆ assemble() [1/2]

void assemble ( ContextGeo const &  cg,
RowNode const &  row,
ColNode const &  col,
Mat &  mat 
) const
inline

Assemble a local element matrix on the element that is bound.

Parameters
contextGeoContainer for geometry related data, ContextGeometry
rowThe node of the test-basis
colThe node of the trial-basis
matElement-matrix

References LocalOperator< Traits, Nodes >::assemble().

◆ assemble() [2/2]

void assemble ( ContextGeo const &  cg,
Node const &  node,
Vec &  vec 
) const
inline

Assemble a local element vector on the element that is bound.

Parameters
contextGeoContainer for geometry related data, ContextGeometry
nodeThe node of the test-basis
vecElement-vector

References LocalOperator< Traits, Nodes >::assemble().

◆ bind()

void bind ( Element const &  element)
inline

Binds the local operator to an element.

Binding an operator to the currently visited element in grid traversal.

References LocalOperator< Traits, Nodes >::bind().


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