Abstract base type for an algorithm for computing quadrature points for a reference element. More...
#include <ptems/quadrature.hpp>
Public Member Functions | |
QuadraturePointAlgorithm () | |
Construct the common implementation of quadrature algorithms (the cache) More... | |
const QuadraturePoints< DIM > & | operator() (const ReferenceMapping< DIM > &mapping, std::size_t order) |
Gets the quadrature points for the specified reference element. More... | |
const QuadraturePoints< DIM > & | operator() (const ReferenceElement< DIM > &refElement, std::size_t order) |
Gets the quadrature points for the specified reference element. More... | |
const QuadraturePoints< DIM > & | Points (const ReferenceMapping< DIM > &mapping, std::size_t order) |
Gets the quadrature points for the specified reference element. More... | |
const QuadraturePoints< DIM > & | Points (const ReferenceElement< DIM > &refElement, std::size_t order) |
Gets the quadrature points for the specified reference element. More... | |
Protected Member Functions | |
virtual void | GenerateLocalPoints (const ReferenceElement< DIM > &refElement, std::size_t order, QuadraturePoints< DIM > &points)=0 |
Implements the computation of the quadrature points for the specified reference element. More... | |
Abstract base type for an algorithm for computing quadrature points for a reference element.
Implements caching of quadrature points.
DIM | The dimension of the reference element |
|
inline |
Construct the common implementation of quadrature algorithms (the cache)
|
protectedpure virtual |
Implements the computation of the quadrature points for the specified reference element.
refElement | The reference element |
order | The desired order of the quadrature |
points | An empty vector to populate with the quadrature points on the reference element |
Implemented in ptems::TensorQuadraturePointAlgorithm< DIM >.
|
inline |
Gets the quadrature points for the specified reference element.
refElement | The reference element |
order | The desired order of the quadrature |
|
inline |
Gets the quadrature points for the specified reference element.
mapping | A mapping from an element to a reference element defining the reference element |
order | The desired order of the quadrature |
|
inline |
Gets the quadrature points for the specified reference element.
std::invalid_argument | if order == 0 |
refElement | The reference element |
order | The desired order of the quadrature |
|
inline |
Gets the quadrature points for the specified reference element.
mapping | A mapping from an element to a reference element defining the reference element |
order | The desired order of the quadrature |