dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits > Class Template Reference

constructor More...

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

Inheritance diagram for Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >:
Inheritance graph

Public Types

typedef GridPartImp GridPartType
 type of the grid partition More...
 
typedef Base::CoordinateType CoordinateType
 Type of coordinates in codim-0 reference element. More...
 
typedef GridPartType::IntersectionIteratorType IntersectionIteratorType
 Type of the intersection iterator. More...
 
typedef IntersectionIteratorType::Intersection IntersectionType
 
typedef QuadraturePointWrapper< ThisQuadraturePointWrapperType
 
typedef This NonConformingQuadratureType
 type quadrature for use on non-conforming intersections More...
 
typedef GridPartType::TwistUtilityType TwistUtilityType
 
typedef IntersectionIteratorType IntersectionIterator
 
enum  Side
 inside and outside flags More...
 
typedef GridPartType::ctype RealType
 coordinate type More...
 
typedef IntegrationTraits::IntegrationPointListType IntegrationPointListType
 type of the integration point list More...
 
typedef IntegrationPointListType::CoordinateType LocalCoordinateType
 

Public Member Functions

 ElementIntegrationPointList (const GridPartType &gridPart, const IntersectionType &intersection, const int order, const typename Base::Side side)
 constructor More...
 
const QuadraturePointWrapperType operator[] (size_t i) const
 
const CoordinateTypepoint (size_t i) const
 obtain coordinates of i-th integration point More...
 
size_t nop () const
 obtain the number of integration points More...
 
const LocalCoordinateTypelocalPoint (size_t i) const
 obtain local coordinates of i-th integration point More...
 
size_t id () const
 obtain the identifier of the integration point list More...
 
int order () const
 obtain order of the integration point list More...
 
GeometryType geometry () const
 obtain GeometryType for this integration point list More...
 
GeometryType elementGeometry () const
 obtain GeometryType of the corresponding codim-0 the integration point list belongs to More...
 
size_t cachingPoint (const size_t quadraturePoint) const
 

Static Public Attributes

static const int dimension = Base::dimension
 
static const int codimension
 codimension of the element integration point list More...
 

Protected Member Functions

Base getPointList (const IntersectionType &intersection, const int order, const typename Base::Side side)
 
const IntegrationPointListTypequadImp () const
 obtain the actual implementation of the quadrature More...
 
int localFaceIndex () const
 

Static Protected Member Functions

static GeometryType getFaceGeometry (const GeometryType &elementGeo, const int face)
 

Detailed Description

template<class GridPartImp, class IntegrationTraits>
class Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >

constructor

Parameters
[in]gridPartgrid partition (a dummy here)
[in]intersectionintersection
[in]orderdesired order of the quadrature
[in]sideeither INSIDE or OUTSIDE; codim-0 entity for which the ElementQuadrature shall be created
Note
This code assumes that the codim-0 entity is either a simplex or a cube (otherwise elementGeometry() returns a wrong geometry).

Member Typedef Documentation

template<class GridPartImp , class IntegrationTraits >
typedef Base::CoordinateType Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::CoordinateType

Type of coordinates in codim-0 reference element.

template<class GridPartImp , class IntegrationTraits >
typedef GridPartImp Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::GridPartType

type of the grid partition

typedef IntegrationTraits::IntegrationPointListType Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::IntegrationPointListType
inherited

type of the integration point list

template<class GridPartImp , class IntegrationTraits >
typedef IntersectionIteratorType Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::IntersectionIterator
template<class GridPartImp , class IntegrationTraits >
typedef GridPartType::IntersectionIteratorType Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::IntersectionIteratorType

Type of the intersection iterator.

template<class GridPartImp , class IntegrationTraits >
typedef IntersectionIteratorType::Intersection Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::IntersectionType
typedef IntegrationPointListType::CoordinateType Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::LocalCoordinateType
inherited
template<class GridPartImp , class IntegrationTraits >
typedef This Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::NonConformingQuadratureType

type quadrature for use on non-conforming intersections

template<class GridPartImp , class IntegrationTraits >
typedef QuadraturePointWrapper< This > Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::QuadraturePointWrapperType
typedef GridPartType::ctype Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::RealType
inherited

coordinate type

template<class GridPartImp , class IntegrationTraits >
typedef GridPartType::TwistUtilityType Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::TwistUtilityType

Member Enumeration Documentation

inside and outside flags

Constructor & Destructor Documentation

template<class GridPartImp , class IntegrationTraits >
Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::ElementIntegrationPointList ( const GridPartType gridPart,
const IntersectionType intersection,
const int  order,
const typename Base::Side  side 
)
inline

constructor

Parameters
[in]gridPartgrid partition (a dummy here)
[in]intersectionintersection
[in]orderdesired order of the quadrature
[in]sideeither INSIDE or OUTSIDE; codim-0 entity for which the ElementQuadrature shall be created
Note
This code assumes that the codim-0 entity is either a simplex or a cube (otherwise elementGeometry() returns a wrong geometry).

Member Function Documentation

size_t Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::cachingPoint ( const size_t  quadraturePoint) const
inlineinherited
GeometryType Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::elementGeometry ( ) const
inlineinherited

obtain GeometryType of the corresponding codim-0 the integration point list belongs to

An element integration point list can return the coordinates of integration points with resepct to the codim-0 reference element and the reference element corresponding to the subentity the quadrature actually lives on. This method returns the geometry of the codim-0 entity.

Note
Calling this method yields a virtual function call, so do not call this method unnecessarily.
Returns
GeometryType for this integration point list
GeometryType Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::geometry ( ) const
inlineinherited

obtain GeometryType for this integration point list

References Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::quadImp().

static GeometryType Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::getFaceGeometry ( const GeometryType &  elementGeo,
const int  face 
)
inlinestaticprotectedinherited
template<class GridPartImp , class IntegrationTraits >
Base Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::getPointList ( const IntersectionType intersection,
const int  order,
const typename Base::Side  side 
)
inlineprotected
size_t Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::id ( ) const
inlineinherited

obtain the identifier of the integration point list

The identifier of an integration point list must be globally unique. Even integration point lists for different dimensions must have different identifiers.

Note
Quadratures are considered distinct if they differ in one of the following points: geometry type, order, dimension or implementation.
Returns
globally unique identifier of the integration point list

References Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::quadImp().

int Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::localFaceIndex ( ) const
inlineprotectedinherited
const LocalCoordinateType& Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::localPoint ( size_t  i) const
inlineinherited

obtain local coordinates of i-th integration point

This method returns a reference to the local coordinates of the i-th integration point for 0 <= i < nop(). Here, local coordinates means coordinates with respect to the reference element of the subentity.

Parameters
[in]inumber of the integration point, 0 <= i < nop()
Returns
reference to i-th integration point
size_t Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::nop ( ) const
inlineinherited

obtain the number of integration points

Returns
number of integration points within this list

References Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::quadImp().

template<class GridPartImp , class IntegrationTraits >
const QuadraturePointWrapperType Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::operator[] ( size_t  i) const
inline
int Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::order ( ) const
inlineinherited

obtain order of the integration point list

The order of a quadrature is the maximal polynomial degree that is guaranteed to be integrated exactly by the quadrature.

In case of an integration point list, the definition of this value is left to the implementor.

Note
Calling this method yields a virtual function call, so do not call this method unnecessarily.
Returns
the order of the integration point list

References Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::quadImp().

template<class GridPartImp , class IntegrationTraits >
const CoordinateType& Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::point ( size_t  i) const
inline

obtain coordinates of i-th integration point

This method returns a reference to the coordinates of the i-th integration point for 0 <= i < nop(). The integration point is given in local coordinates, i.e., coordinates with respect to the reference element.

Parameters
[in]inumber of the integration point, 0 <= i < nop()
Returns
reference to i-th integration point
const IntegrationPointListType& Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::quadImp ( ) const
inlineprotectedinherited

obtain the actual implementation of the quadrature

Note
This method may only be used in derived classes.
Returns
a reference to the actual implementation of the quadrature

Member Data Documentation

const int Dune::Fem::ElementPointListBase< GridPartImp, codim, IntegrationTraits >::codimension
staticinherited

codimension of the element integration point list

template<class GridPartImp , class IntegrationTraits >
const int Dune::Fem::ElementIntegrationPointList< GridPartImp, 1, IntegrationTraits >::dimension = Base::dimension
static

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