DUNE-FEM (unstable)

Dune::Fem::LagrangePointListInterface< FieldImp, dim, maxPolOrder > Class Template Reference

Set of lagrange points. More...

#include <dune/fem/space/lagrange/lagrangepoints.hh>

Public Types

typedef FieldImp FieldType
 field type of points
 
typedef FieldVector< FieldType, dimensionCoordinateType
 type of points
 
enum  
 to be revised, look at caching quad
 

Public Member Functions

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...
 
virtual std::vector< ElementCoordinateTypeinterpolationPoints (const int reqDim) const
 returns list of element interpolation points for a given face quadrature
 
virtual bool isFaceInterpolationQuadrature (const size_t numShapeFunctions) const
 return true if quadrature is also a set of interpolation points for a given number of shape functions
 

Static Public Attributes

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

Protected Member Functions

void addIntegrationPoint (const CoordinateType &point)
 Adds an integration point to the list. More...
 
void setIntegrationPoints (std::vector< CoordinateType > &&points)
 Overwrites integration point list

 

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 Function Documentation

◆ addIntegrationPoint()

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.

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

◆ geometryType()

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 >.

◆ id()

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::TwistProvider< ct, dim >::getTwistStorage().

◆ maxDofs()

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

◆ nop()

template<typename FieldImp , int dim>
size_t Dune::Fem::IntegrationPointListImp< FieldImp, dim >::nop ( ) const
inlineinherited

obtain the number of integration points

Returns
number of integration points within this list

Referenced by Dune::Fem::IntegrationPointListImp< FieldImp, dim >::point().

◆ numDofs() [1/2]

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

◆ numDofs() [2/2]

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

◆ order()

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 >.

◆ point()

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

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

Referenced by Dune::Fem::IntegrationPointListImp< FieldImp, dim >::addIntegrationPoint(), and Dune::Fem::QuadratureImp< FieldImp, dim >::addQuadraturePoint().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 4, 22:30, 2024)