dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Dune::Fem::CornerPointList< ct, Topology > Class Template Reference

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

Inheritance diagram for Dune::Fem::CornerPointList< ct, Topology >:
Inheritance graph

Public Types

typedef BaseType::CoordinateType CoordinateType
 
enum  
 to be revised, look at caching quad More...
 
typedef ct FieldType
 field type More...
 

Public Member Functions

 CornerPointList (const size_t id)
 
 CornerPointList (const GeometryType &type, const int order, const size_t id)
 
int order () const
 obtain order of the integration point list More...
 
GeometryType geometryType () const
 obtain GeometryType for this integration point list More...
 
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...
 
size_t id () const
 obtain the identifier of the integration point list More...
 

Static Public Member Functions

static unsigned int maxOrder ()
 

Protected Member Functions

void addIntegrationPoint (const CoordinateType &point)
 Adds an integration point to the list. More...
 

Member Typedef Documentation

template<class ct , class Topology >
typedef BaseType::CoordinateType Dune::Fem::CornerPointList< ct, Topology >::CoordinateType
typedef ct Dune::Fem::IntegrationPointListImp< ct , dim >::FieldType
inherited

field type

Member Enumeration Documentation

anonymous enum
inherited

to be revised, look at caching quad

Constructor & Destructor Documentation

template<class ct , class Topology >
Dune::Fem::CornerPointList< ct, Topology >::CornerPointList ( const size_t  id)
inlineexplicit
template<class ct , class Topology >
Dune::Fem::CornerPointList< ct, Topology >::CornerPointList ( const GeometryType &  type,
const int  order,
const size_t  id 
)
inline

Member Function Documentation

void Dune::Fem::IntegrationPointListImp< ct , dim >::addIntegrationPoint ( const CoordinateType point)
inlineprotectedinherited

Adds an integration point to the list.

This method allows derived classes to add integration points to the list. This mehtod should only be used within the constructor of the derived class.

References Dune::Fem::DynamicArray< Element, ArrayAllocator >::append().

Referenced by Dune::Fem::CornerPointList< ct, Topology >::CornerPointList().

template<class ct , class Topology >
GeometryType Dune::Fem::CornerPointList< ct, Topology >::geometryType ( ) const
inlinevirtual

obtain GeometryType for this integration point list

Integration point lists are specified in local coordinates, i.e., coordinates with respect to the reference element. Hence, each integration point list is only valid for one type of geometry, i.e., for one reference element. The type can be retrieved via this method.

Returns
GeometryType for this integration point list

Implements Dune::Fem::IntegrationPointListImp< ct, Topology::dimension >.

size_t Dune::Fem::IntegrationPointListImp< ct , dim >::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::IntegrationPointListImp< FieldImp, dim >::geometryType(), and Dune::Fem::IntegrationPointListImp< FieldImp, dim >::order().

template<class ct , class Topology >
static unsigned int Dune::Fem::CornerPointList< ct, Topology >::maxOrder ( )
inlinestatic
size_t Dune::Fem::IntegrationPointListImp< ct , dim >::nop ( ) const
inlineinherited

obtain the number of integration points

Returns
number of integration points within this list

References Dune::Fem::DynamicArray< Element, ArrayAllocator >::size().

template<class ct , class Topology >
int Dune::Fem::CornerPointList< ct, Topology >::order ( ) const
inlinevirtual

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.

Returns
the order of the integration point list

Implements Dune::Fem::IntegrationPointListImp< ct, Topology::dimension >.

const CoordinateType& Dune::Fem::IntegrationPointListImp< ct , dim >::point ( size_t  i) const
inlineinherited

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

References Dune::Fem::IntegrationPointListImp< FieldImp, dim >::nop().


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