Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Static Public Member Functions | Private Member Functions | Static Private Member Functions
DGNorm2d Class Reference

Provides methods to calculate norms. More...

#include <dgNorm2d.hh>

List of all members.

Static Public Member Functions

static concepts::Mapping< Real, 2 > elmSymmGrad (vectorial::Element< Real > &vElm, const concepts::Vector< Real > &coeffs)
static Real energyTW (vectorial::Space< Real > &spc, const concepts::Vector< Real > &coeffs, concepts::Formula< Real > &exactFrmX, concepts::Formula< Real > &exactFrmY, concepts::Formula< Real > &exactFrmXderX, concepts::Formula< Real > &exactFrmXderY, concepts::Formula< Real > &exactFrmYderX, concepts::Formula< Real > &exactFrmYderY, uint nQuadPts, Real time=0)
 Calculates the energy norm of a vectorial mesh function defined by coeffs minus a general function given by exact formulae for x (exactFrmX) and y (exactFrmY) component, both evaluated at time time.
static Real l2 (vectorial::Space< Real > &spc, const concepts::Vector< Real > &coeffs, concepts::Formula< Real > &exactFrmX, concepts::Formula< Real > &exactFrmY, uint nQuadPts, Real time=0)
 Calculates the L2 norm of a vectorial mesh function defined by coeffs minus a general function given by exact formulae for x (exactFrmX) and y (exactFrmY) component, both evaluated at time time.
static Real l2 (const linDG2D::SpaceP1 &spc, const concepts::Vector< Real > &coeffs, concepts::Formula< Real > &exactFrm, uint nQuadPts, Real time=0)
 Calculates the L2 norm of a mesh function defined by coeffs minus a general function given by an exact formula exactFrm evaluated at time time.
static Real matrix (const concepts::Vector< Real > &coeffs, concepts::Operator< Real > &matrix)
 Calculates the norm defined by matrix of coeffs.

Private Member Functions

 DGNorm2d ()
 Constructor. Is private in order to prevent creating an instance.

Static Private Member Functions

static concepts::Real2d elmSol (vectorial::Element< Real > &vElm, const concepts::Vector< Real > &coeffs, Real xi1, Real xi2)
 Calculate solution on vectorial element.
template<uint dim>
static Real mappingNorm (concepts::Mapping< Real, dim > &map)
 Calculate norm of a mapping.

Detailed Description

Provides methods to calculate norms.

Author:
Christoph Winkelmann, 2003

Definition at line 28 of file dgNorm2d.hh.


Constructor & Destructor Documentation

DGNorm2d::DGNorm2d ( ) [inline, private]

Constructor. Is private in order to prevent creating an instance.

Definition at line 95 of file dgNorm2d.hh.


Member Function Documentation

static concepts::Real2d DGNorm2d::elmSol ( vectorial::Element< Real > &  vElm,
const concepts::Vector< Real > &  coeffs,
Real  xi1,
Real  xi2 
) [static, private]

Calculate solution on vectorial element.

static concepts::Mapping<Real, 2> DGNorm2d::elmSymmGrad ( vectorial::Element< Real > &  vElm,
const concepts::Vector< Real > &  coeffs 
) [static]
static Real DGNorm2d::energyTW ( vectorial::Space< Real > &  spc,
const concepts::Vector< Real > &  coeffs,
concepts::Formula< Real > &  exactFrmX,
concepts::Formula< Real > &  exactFrmY,
concepts::Formula< Real > &  exactFrmXderX,
concepts::Formula< Real > &  exactFrmXderY,
concepts::Formula< Real > &  exactFrmYderX,
concepts::Formula< Real > &  exactFrmYderY,
uint  nQuadPts,
Real  time = 0 
) [static]

Calculates the energy norm of a vectorial mesh function defined by coeffs minus a general function given by exact formulae for x (exactFrmX) and y (exactFrmY) component, both evaluated at time time.

The definition of the energy norm is according to T. Wihler.

Parameters:
coeffsThe coefficent vector
exactFrmXThe formula for the x component of the exact solution
exactFrmYThe formula for the y component of the exact solution
exactFrmXderXd/dx of exactFrmX
exactFrmXderYd/dy of exactFrmX
exactFrmYderXd/dx of exactFrmY
exactFrmYderYd/dy of exactFrmY
nQuadPtsNumber of Gauss quadrature points per dimension
timeTime to evaluate exactFrm at
static Real DGNorm2d::l2 ( vectorial::Space< Real > &  spc,
const concepts::Vector< Real > &  coeffs,
concepts::Formula< Real > &  exactFrmX,
concepts::Formula< Real > &  exactFrmY,
uint  nQuadPts,
Real  time = 0 
) [static]

Calculates the L2 norm of a vectorial mesh function defined by coeffs minus a general function given by exact formulae for x (exactFrmX) and y (exactFrmY) component, both evaluated at time time.

Parameters:
coeffsThe coefficent vector
exactFrmXThe formula for the x component of the exact solution
exactFrmYThe formula for the y component of the exact solution
nQuadPtsNumber of Gauss quadrature points per dimension
timeTime to evaluate exactFrm at
static Real DGNorm2d::l2 ( const linDG2D::SpaceP1 spc,
const concepts::Vector< Real > &  coeffs,
concepts::Formula< Real > &  exactFrm,
uint  nQuadPts,
Real  time = 0 
) [static]

Calculates the L2 norm of a mesh function defined by coeffs minus a general function given by an exact formula exactFrm evaluated at time time.

Parameters:
coeffsThe coefficent vector
exactFrmThe formula for the exact solution
nQuadPtsNumber of Gauss quadrature points per dimension
timeTime to evaluate exactFrmX and exactFrmY at
template<uint dim>
static Real DGNorm2d::mappingNorm ( concepts::Mapping< Real, dim > &  map) [static, private]

Calculate norm of a mapping.

static Real DGNorm2d::matrix ( const concepts::Vector< Real > &  coeffs,
concepts::Operator< Real > &  matrix 
) [inline, static]

Calculates the norm defined by matrix of coeffs.

Parameters:
coeffsThe coefficent vector
matrixThe matrix which defines the norm

Definition at line 35 of file dgNorm2d.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)