dune-fem
2.4.1-rc
|
quadrature implementation based on the standard DUNE quadratures More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/quadrature/dunequadratures.hh>
Public Types | |
enum | { dimension = dim } |
typedef FieldImp | FieldType |
typedef BaseType::CoordinateType | CoordinateType |
enum | { codimension = 0 } |
to be revised, look at caching quad More... | |
Public Member Functions | |
QuadratureRulesFactory (const GeometryType &geometry, const int order, const size_t id) | |
constructor filling the list of points and weights More... | |
int | order () const |
obtain order of the integration point list More... | |
GeometryType | geometryType () const |
const FieldType & | weight (size_t i) const |
obtain weight of i-th integration point More... | |
const CoordinateType & | point (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 () |
maximal order of available quadratures More... | |
Protected Types | |
enum | { highest_order = 44 } |
typedef QuadratureRule< FieldType, dimension > | DuneQuadratureRuleType |
Protected Member Functions | |
void | addQuadraturePoint (const CoordinateType &point, const FieldType weight) |
Adds a point-weight pair to the quadrature. More... | |
Protected Attributes | |
const GeometryType | elementGeometry_ |
int | order_ |
quadrature implementation based on the standard DUNE quadratures
Though a factory by name, this is a quadrature implementation using the standard quadratures from DUNE grid to generate a list of quadrature points.
typedef BaseType :: CoordinateType Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::CoordinateType |
|
protected |
typedef FieldImp Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::FieldType |
|
inherited |
|
inline |
constructor filling the list of points and weights
[in] | geometry | geometry type for which a quadrature is desired |
[in] | order | desired order (provided by the user) |
[in] | id | unique identifier (provided by QuadratureProvider) |
References Dune::Fem::QuadratureImp< FieldImp, dim >::addQuadraturePoint().
|
inlineprotectedinherited |
Adds a point-weight pair to the quadrature.
This method allows derived classes to add quadrature points (and their respective weights) to the list. This mehtod should only be used within the constructor of the derived class.
Referenced by Dune::Fem::CubeQuadrature< FieldImp, dim >::CubeQuadrature(), Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::QuadratureRulesFactory(), and Dune::Fem::SimplexQuadrature< FieldImp, dim >::SimplexQuadrature().
|
inlinevirtual |
|
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.
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().
|
inlinestatic |
maximal order of available quadratures
References Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::highest_order.
|
inlineinherited |
obtain the number of integration points
Referenced by Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::applyLocalNeighbor(), Dune::Fem::TwistMapperCreator< ct, dim >::createStorage(), Dune::Fem::PointProvider< ct, dim, 1 >::getMappers(), Dune::Fem::IntegrationPointListImp< ct, Topology::dimension >::point(), and Dune::Fem::PointProvider< ct, dim, 0 >::registerQuadrature().
|
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.
Implements Dune::Fem::IntegrationPointListImp< FieldImp, dim >.
References Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::order_.
|
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.
[in] | i | number of the integration point, 0 <= i < nop() |
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().
|
inlineinherited |
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.
[in] | i | number of the integration point, 0 <= i < nop() |
Referenced by Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::applyLocalNeighbor(), and Dune::Fem::CubeQuadrature< FieldImp, dim >::CubeQuadrature().
|
protected |
|
protected |
Referenced by Dune::Fem::QuadratureRulesFactory< FieldImp, dim >::order().