3#include <amdis/common/Transposed.hpp>
7 template <
class Transposed>
8 class GridFunctionLocalOperatorTransposed;
12 template <
class Transposed>
17 : transposedOp_(transposedOp)
20 template <
class Gr
idView>
21 void update(GridView
const& gv)
23 transposedOp_.update(gv);
32 Transposed transposedOp_;
36 template <
class Transposed>
41 : transposedLop_(transposedLop)
45 template <
class Element>
46 void bind(Element
const& element)
48 transposedLop_.bind(element);
54 transposedLop_.unbind();
64 template <
class CG,
class RN,
class CN,
class Mat>
65 void assemble(CG
const& contextGeometry, RN
const& rowNode, CN
const& colNode,
66 Mat& elementMatrix)
const
68 auto elementMatrixT = transposed(elementMatrix);
69 transposedLop_.assemble(contextGeometry, colNode, rowNode, elementMatrixT);
73 Transposed transposedLop_;
Definition: GridFunctionOperatorTransposed.hpp:38
void bind(Element const &element)
Redirects the bind call top the transposed operator.
Definition: GridFunctionOperatorTransposed.hpp:46
void assemble(CG const &contextGeometry, RN const &rowNode, CN const &colNode, Mat &elementMatrix) const
Apply the assembling to the transposed elementMatrix with interchanged row-/colNode.
Definition: GridFunctionOperatorTransposed.hpp:65
void unbind()
Redirects the unbind call top the transposed operator.
Definition: GridFunctionOperatorTransposed.hpp:52
The transposed operator, implemented in terms of its transposed by calling assemble with inverted arg...
Definition: GridFunctionOperatorTransposed.hpp:14