NGSolve
4.9
|
Differential Operator. More...
#include <diffop.hpp>
Static Public Member Functions | |
template<typename FEL , typename MIP , typename MAT > | |
static void | GenerateMatrix (const FEL &fel, const MIP &mip, MAT &mat, LocalHeap &lh) |
Computes the B-matrix. | |
template<typename FEL , typename MIP , class TVX , class TVY > | |
static void | Apply (const FEL &fel, const MIP &mip, const TVX &x, TVY &y, LocalHeap &lh) |
Applies the B-matrix. | |
template<typename FEL , class MIR , class TVX , class TVY > | |
static void | ApplyIR (const FEL &fel, const MIR &mir, const TVX &x, TVY &y, LocalHeap &lh) |
Computes B-matrix times element vector in many points. | |
template<typename FEL , typename MIP , class TVX , class TVY > | |
static void | ApplyTrans (const FEL &fel, const MIP &mip, const TVX &x, TVY &y, LocalHeap &lh) |
Computes Transpose (B-matrix) times point value. | |
template<typename FEL , typename MIR , class TVX , class TVY > | |
static void | ApplyTransIR (const FEL &fel, const MIR &mir, const TVX &x, TVY &y, LocalHeap &lh) |
Computes Transpose (B-matrix) times point value. | |
template<typename MIP , class TVX > | |
static void | Transform (const MIP &mip, TVX &x) |
old style ??? | |
template<typename MIP , class TVX > | |
static void | TransformT (const MIP &mip, TVX &x) |
old style ??? |
Differential Operator.
Base-class for template-polymorphismus. Provides application and transpose-application. Operations can be applied for one integration point, or for the whole integration rule at once.
static void ngfem::DiffOp< DOP >::Apply | ( | const FEL & | fel, |
const MIP & | mip, | ||
const TVX & | x, | ||
TVY & | y, | ||
LocalHeap & | lh | ||
) | [inline, static] |
Applies the B-matrix.
Computes matrix-vector product with the B-matrix
static void ngfem::DiffOp< DOP >::GenerateMatrix | ( | const FEL & | fel, |
const MIP & | mip, | ||
MAT & | mat, | ||
LocalHeap & | lh | ||
) | [inline, static] |
Computes the B-matrix.
The height is DIM_DMAT, the width is fel.GetNDof(). FEL is the FiniteElement type specified in the BDB-Integrator mip is the mapped integration point containing the Jacobi-Matrix MAT is the resulting matrix (usually a FixedHeightMatrix)
Reimplemented in ngfem::DiffOpCurl3d, ngfem::DiffOpCurl, ngfem::DiffOpDiv< D >, ngfem::DiffOpIdBoundarySys< D, SYSDIM >, ngfem::DiffOpIdSys< D, SYSDIM >, and ngfem::DiffOpGradientRotSym< D >.