dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder > Class Template Reference

Set of lagrange points. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/lagrange/lagrangepoints.hh>

Inheritance diagram for Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >:
Inheritance graph

Public Types

typedef FieldImp FieldType
 field type of points More...
 
typedef FieldVector< FieldType, dimensionCoordinateType
 type of points More...
 
enum  { codimension = 0 }
 to be revised, look at caching quad More...
 

Public Member Functions

 LagrangePointListInterface (const size_t id)
 
 ~LagrangePointListInterface ()
 
void setLagrangePointImpl (const LagrangePointInterfaceType *lpImpl)
 
const LocalKeydofInfo (unsigned int index) const
 
void dofSubEntity (unsigned int index, unsigned int &codim, unsigned int &subEntity, unsigned int &dofNumber) const
 
unsigned int entityDofNumber (unsigned int codim, unsigned int subEntity, unsigned int dofNumber) const
 
GeometryType geometryType () const
 obtain GeometryType for this integration point list More...
 
unsigned int maxDofs (unsigned int codim) const
 obtain the maximal number of DoFs in one entity of a codimension More...
 
unsigned int numDofs (unsigned int codim, unsigned int subEntity) const
 obtain the number of DoFs on one entity More...
 
unsigned int numDofs (unsigned int codim) const
 obtain the total number of DoFs in a codimension More...
 
int order () const
 obtain order of the 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 int maxOrder ()
 

Static Public Attributes

static const int dimension = dim
 dimension of points More...
 
static const unsigned int maxPolynomialOrder = maxPolOrder
 polynomial order of corresponding base functions More...
 

Protected Member Functions

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

Detailed Description

template<class FieldImp, int dim, unsigned int maxPolOrder>
class Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >

Set of lagrange points.

Interface class for a set of lagrange points. An instance of the lagrange points can be obtained from the lagrange function space. The set can be wrapped in a quadrature.

Member Typedef Documentation

template<class FieldImp , int dim, unsigned int maxPolOrder>
typedef FieldVector< FieldType, dimension > Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::CoordinateType

type of points

template<class FieldImp , int dim, unsigned int maxPolOrder>
typedef FieldImp Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::FieldType

field type of points

Member Enumeration Documentation

template<typename FieldImp, int dim>
anonymous enum
inherited

to be revised, look at caching quad

Enumerator
codimension 

Constructor & Destructor Documentation

template<class FieldImp , int dim, unsigned int maxPolOrder>
Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::LagrangePointListInterface ( const size_t  id)
inlineexplicit
template<class FieldImp , int dim, unsigned int maxPolOrder>
Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::~LagrangePointListInterface ( )
inline

Member Function Documentation

template<class FieldImp , int dim, unsigned int maxPolOrder>
void Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::addDofInfo ( const LocalKey dofInfo)
inlineprotected
template<typename FieldImp, int dim>
void Dune::Fem::IntegrationPointListImp< FieldImp, 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.

Referenced by Dune::Fem::QuadratureImp< FieldImp, 1 >::addQuadraturePoint(), and Dune::Fem::QuadratureImp< FieldImp, 1 >::weight().

template<class FieldImp , int dim, unsigned int maxPolOrder>
const LocalKey& Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::dofInfo ( unsigned int  index) const
inline
template<class FieldImp , int dim, unsigned int maxPolOrder>
void Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::dofSubEntity ( unsigned int  index,
unsigned int &  codim,
unsigned int &  subEntity,
unsigned int &  dofNumber 
) const
inline
template<class FieldImp , int dim, unsigned int maxPolOrder>
unsigned int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::entityDofNumber ( unsigned int  codim,
unsigned int  subEntity,
unsigned int  dofNumber 
) const
inline
template<class FieldImp , int dim, unsigned int maxPolOrder>
GeometryType Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::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< FieldImp, dim >.

template<typename FieldImp, int dim>
size_t Dune::Fem::IntegrationPointListImp< FieldImp, 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

Referenced by Dune::Fem::CacheProvider< GridPart, 1 >::getMapper(), Dune::Fem::PointProvider< ct, dim, 1 >::getMappers(), Dune::Fem::PointProvider< ct, dim, 1 >::getPoints(), Dune::Fem::TwistProvider< ct, dim >::getTwistStorage(), and Dune::Fem::PointProvider< ct, dim, 0 >::registerQuadrature().

template<class FieldImp , int dim, unsigned int maxPolOrder>
unsigned int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::maxDofs ( unsigned int  codim) const
inline

obtain the maximal number of DoFs in one entity of a codimension

Parameters
[in]codimcodimension, the information is desired for
Returns
maximal number of DoFs for one entity in the codimension
template<class FieldImp , int dim, unsigned int maxPolOrder>
static int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::maxOrder ( )
inlinestatic
template<typename FieldImp, int dim>
size_t Dune::Fem::IntegrationPointListImp< FieldImp, dim >::nop ( ) const
inlineinherited
template<class FieldImp , int dim, unsigned int maxPolOrder>
unsigned int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::numDofs ( unsigned int  codim,
unsigned int  subEntity 
) const
inline

obtain the number of DoFs on one entity

Parameters
[in]codimcodimension of the entity
[in]subEntitynumber of the subentity (of the given codimension)
Returns
the number of DoFs associated with the specified entity
template<class FieldImp , int dim, unsigned int maxPolOrder>
unsigned int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::numDofs ( unsigned int  codim) const
inline

obtain the total number of DoFs in a codimension

Parameters
[in]codimcodimension the information is desired for
Returns
the number of DoFs associated with the codimension
template<class FieldImp , int dim, unsigned int maxPolOrder>
int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::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< FieldImp, dim >.

template<typename FieldImp, int dim>
const CoordinateType& Dune::Fem::IntegrationPointListImp< FieldImp, 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

Referenced by Dune::Fem::TwistMapperCreator< ct, dim >::createStorage(), Dune::Fem::PointProvider< ct, dim, 1 >::getMappers(), Dune::Fem::PointProvider< ct, dim, 0 >::registerQuadrature(), and Dune::Fem::QuadratureImp< FieldImp, 1 >::weight().

template<class FieldImp , int dim, unsigned int maxPolOrder>
void Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::setLagrangePointImpl ( const LagrangePointInterfaceType lpImpl)
inline

Member Data Documentation

template<class FieldImp , int dim, unsigned int maxPolOrder>
const int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::dimension = dim
static

dimension of points

template<class FieldImp , int dim, unsigned int maxPolOrder>
const unsigned int Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder >::maxPolynomialOrder = maxPolOrder
static

polynomial order of corresponding base functions


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