NGSolve  4.9
Static Public Member Functions
ngfem::DiffOp< DOP > Class Template Reference

Differential Operator. More...

#include <diffop.hpp>

List of all members.

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 ???

Detailed Description

template<class DOP>
class ngfem::DiffOp< DOP >

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.


Member Function Documentation

template<class DOP>
template<typename FEL , typename MIP , class TVX , class TVY >
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

template<class DOP>
template<typename FEL , typename MIP , typename MAT >
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 >.


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