DUNE-FEM (unstable)

Dune::Fem::LocalMassMatrix< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp >, VolumeQuadratureImp > Class Template Reference

Local Mass Matrix for hierarchic Legendre space. More...

#include <dune/fem/space/discontinuousgalerkin/localdgmassmatrix.hh>

Public Types

enum  
 is true if grid is structured grid
 

Public Member Functions

void applyInverse (MassCallerType &caller, const EntityType &en, const BasisFunction &basisFunction, LocalFunctionType &lf) const
 
void applyInverse (const EntityType &en, LocalFunctionType &lf) const
 apply local dg mass matrix to local function lf without mass factor
 
void applyInverse (LocalFunction &lf) const
 apply local dg mass matrix to local function lf without mass factor
 
void applyInverse (MassCaller &caller, const EntityType &entity, const BasisFunctionSet &basisFunctionSet, LocalFunction &lf) const
 
void applyInverse (MassCaller &caller, const EntityType &entity, LocalFunction &lf) const
 
void applyInverse (const EntityType &entity, LocalFunction &lf) const
 apply local dg mass matrix to local function lf without mass factor
 
void rightMultiplyInverse (LocalMatrix &localMatrix) const
 compute localMatrix * M^-1
 
void leftMultiplyInverse (LocalMatrix &localMatrix) const
 compute M^-1 * localMatrix
 
int volumeQuadratureOrder (const EntityType &entity) const
 return appropriate quadrature order, default is 2 * order(entity)
 
bool affine () const
 returns true if geometry mapping is affine
 
double getAffineMassFactor (const Geometry &geo) const
 return mass factor for diagonal mass matrix
 

Protected Member Functions

int maxVolumeQuadratureOrder () const
 return appropriate quadrature order, default is 2 * order()
 
void rightMultiplyInverseDgOrthoNormalBasis (LocalMatrix &localMatrix) const
 compute localMatrix * M^-1
 
void leftMultiplyInverseDgOrthoNormalBasis (LocalMatrix &localMatrix) const
 compute M^-1 * localMatrix
 
bool entityHasChanged (const EntityType &entity) const
 returns true if the entity has been changed
 
void applyInverseDefault (MassCaller &caller, const EntityType &entity, const Geometry &geo, const BasisFunctionSet &basisFunctionSet, LocalFunction &lf) const
 
void rightMultiplyInverseDefault (const EntityType &entity, const Geometry &geo, LocalMatrix &localMatrix) const
 compute localMatrix * M^-1
 
void leftMultiplyInverseDefault (const EntityType &entity, const Geometry &geo, LocalMatrix &localMatrix) const
 compute M^-1 * localMatrix
 
void applyInverseLocally (const EntityType &entity, const Geometry &geo, const BasisFunctionSet &basisFunctionSet, LocalFunction &lf) const
 apply local mass matrix to local function lf
 
void leftMultiplyInverseLocally (const EntityType &entity, const Geometry &geo, LocalMatrix &localMatrix) const
 compute M^-1 * localMatrix
 
bool setup () const
 setup and return affinity
 
void buildMatrix (MassCaller &caller, const EntityType &entity, const Geometry &geo, const BasisFunctionSetType &set, std::size_t numDofs, Matrix &matrix) const
 build local mass matrix
 
void buildMatrixNoMassFactor (const EntityType &en, const Geometry &geo, const BasisFunctionSetType &set, const VolumeQuadratureType &volQuad, const int numDofs, Matrix &matrix, const bool applyIntegrationElement=true) const
 build local mass matrix with mass factor
 
void buildMatrixWithMassFactor (MassCallerType &caller, const EntityType &en, const Geometry &geo, const BasisFunctionSetType &set, const VolumeQuadratureType &volQuad, const int numDofs, Matrix &matrix) const
 build local mass matrix with mass factor
 

Detailed Description

template<class FunctionSpaceImp, class GridPartImp, int polOrd, class BaseFunctionStorageImp, class VolumeQuadratureImp>
class Dune::Fem::LocalMassMatrix< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp >, VolumeQuadratureImp >

Local Mass Matrix for hierarchic Legendre space.

Member Function Documentation

◆ applyInverse() [1/3]

void Dune::Fem::LocalMassMatrixImplementation< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp > , VolumeQuadratureImp , refElemScaling >::applyInverse ( MassCaller &  caller,
const EntityType &  entity,
const BasisFunctionSet basisFunctionSet,
LocalFunction lf 
) const
inlineinherited

apply local dg mass matrix to local function lf using the massFactor method of the caller

◆ applyInverse() [2/3]

void Dune::Fem::LocalMassMatrixImplementation< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp > , VolumeQuadratureImp , refElemScaling >::applyInverse ( MassCaller &  caller,
const EntityType &  entity,
LocalFunction lf 
) const
inlineinherited

apply local dg mass matrix to local function lf using the massFactor method of the caller

◆ applyInverse() [3/3]

void Dune::Fem::LocalMassMatrixImplementationDgOrthoNormal< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp > , VolumeQuadratureImp , true >::applyInverse ( MassCallerType &  caller,
const EntityType &  en,
const BasisFunction &  basisFunction,
LocalFunctionType &  lf 
) const
inlineinherited

apply local dg mass matrix to local function lf using the massFactor method of the caller

◆ applyInverseDefault()

void Dune::Fem::LocalMassMatrixImplementation< HierarchicLegendreDiscontinuousGalerkinSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp > , VolumeQuadratureImp , refElemScaling >::applyInverseDefault ( MassCaller &  caller,
const EntityType &  entity,
const Geometry &  geo,
const BasisFunctionSet basisFunctionSet,
LocalFunction lf 
) const
inlineprotectedinherited

apply local mass matrix to local function lf using the massFactor method of the caller


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)