DUNE-FEM (unstable)

Dune::Fem::QuadratureProvider< FieldImp, dim, QuadratureTraits > Class Template Reference

provide a single instance pool of quadratures More...

#include <dune/fem/quadrature/quadprovider.hh>

Public Types

typedef QuadratureTraitsType::CubeQuadratureType CubeQuadratureType
 type for cube quadrature
 
typedef QuadratureTraitsType::IntegrationPointListType IntegrationPointListType
 type of integration point list implementation
 
typedef QuadratureTraitsType::QuadratureKeyType QuadratureKeyType
 key for access of quadratures in the storage
 

Static Public Member Functions

static const IntegrationPointListTypegetQuadrature (const GeometryType &geometry, const QuadratureKeyType &quadKey)
 Access to the quadrature implementations.
 
static const IntegrationPointListTypegetQuadrature (const GeometryType &geometry, const GeometryType &elementGeometry, const QuadratureKeyType &quadKey)
 Access to the quadrature implementations.
 

Detailed Description

template<typename FieldImp, int dim, template< class, int > class QuadratureTraits>
class Dune::Fem::QuadratureProvider< FieldImp, dim, QuadratureTraits >

provide a single instance pool of quadratures

QuadratureProvider follows the monostate pattern. It provides a single point of access (and storage) for the actual implementation of quadratures. Hence, the expensive creations of quadratures should be reduced to a minimum.

There are the following specializations:


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.111.3 (Nov 12, 23:30, 2024)