dune-fem  2.4.1-rc
Public Types | Public Member Functions | List of all members
Dune::Fem::ElementQuadrature< GridPartImp, 0 > Class Template Reference

constructor More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/quadrature/elementquadrature.hh>

Inheritance diagram for Dune::Fem::ElementQuadrature< GridPartImp, 0 >:
Inheritance graph

Public Types

enum  { codimension = 0 }
 codimension of the element quadrature More...
 
enum  { dimension = GridPartType :: dimension }
 dimension of the world More...
 
typedef GridPartImp GridPartType
 type of the grid partition More...
 
typedef GridPartType::ctype RealType
 type for reals (usually double) More...
 
typedef IntegrationTraits::CoordinateType CoordinateType
 type for coordinates in the codim-0 reference element More...
 
typedef GridPartType::template Codim< 0 >::EntityType EntityType
 

Public Member Functions

 ElementQuadrature (const EntityType &entity, int order)
 constructor More...
 
 ElementQuadrature (const GeometryType &type, int order)
 constructor More...
 
 ElementQuadrature (const ThisType &org)
 copy constructor More...
 
const RealTypeweight (size_t i) const
 obtain weight of i-th integration point More...
 

Detailed Description

template<typename GridPartImp>
class Dune::Fem::ElementQuadrature< GridPartImp, 0 >

constructor

Parameters
[in]entityentity, on whose reference element the quadratre lives
[in]orderdesired minimal order of the quadrature

Member Typedef Documentation

template<typename GridPartImp >
typedef IntegrationTraits :: CoordinateType Dune::Fem::ElementQuadrature< GridPartImp, 0 >::CoordinateType

type for coordinates in the codim-0 reference element

template<typename GridPartImp >
typedef GridPartType::template Codim< 0 >::EntityType Dune::Fem::ElementQuadrature< GridPartImp, 0 >::EntityType
template<typename GridPartImp >
typedef GridPartImp Dune::Fem::ElementQuadrature< GridPartImp, 0 >::GridPartType

type of the grid partition

template<typename GridPartImp >
typedef GridPartType :: ctype Dune::Fem::ElementQuadrature< GridPartImp, 0 >::RealType

type for reals (usually double)

Member Enumeration Documentation

template<typename GridPartImp >
anonymous enum

codimension of the element quadrature

Enumerator
codimension 
template<typename GridPartImp >
anonymous enum

dimension of the world

Enumerator
dimension 

Constructor & Destructor Documentation

template<typename GridPartImp >
Dune::Fem::ElementQuadrature< GridPartImp, 0 >::ElementQuadrature ( const EntityType entity,
int  order 
)
inline

constructor

Parameters
[in]entityentity, on whose reference element the quadratre lives
[in]orderdesired minimal order of the quadrature
template<typename GridPartImp >
Dune::Fem::ElementQuadrature< GridPartImp, 0 >::ElementQuadrature ( const GeometryType &  type,
int  order 
)
inline

constructor

Parameters
[in]typegeometry type, on whose reference element the quadratre lives
[in]orderdesired minimal order of the quadrature
template<typename GridPartImp >
Dune::Fem::ElementQuadrature< GridPartImp, 0 >::ElementQuadrature ( const ThisType org)
inline

copy constructor

Parameters
[in]orgelement quadrature to copy

Member Function Documentation

template<typename GridPartImp >
const RealType& Dune::Fem::ElementQuadrature< GridPartImp, 0 >::weight ( size_t  i) const
inline

obtain weight of i-th integration point

This method returns the weight of the i-th integration point for 0 <= i < nop() within the quadrature.

Note
The integration point can be obtained via the point() method.
The quadrature weights sum up to the volume of the reference element.
Parameters
[in]inumber of the integration point, 0 <= i < nop()
Returns
weight of the i-th integration point

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