Abstract base type for an algorithm for computing quadrature points for a reference element based on tensor product of a set of quadratures points on the reference interval \([-1,1]\). More...
#include <ptems/quadrature.hpp>
Public Member Functions | |
TensorQuadraturePointAlgorithm () | |
Construct the common implementation of tensor product quadrature algorithms. 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) override |
Implements the computation of the quadrature points for the specified reference element. More... | |
virtual void | GenerateLocal1DPoints (std::size_t order, QuadraturePoints< 1 > &points)=0 |
Computes the quadrature points for the reference interval. More... | |
Abstract base type for an algorithm for computing quadrature points for a reference element based on tensor product of a set of quadratures points on the reference interval \([-1,1]\).
DIM | The dimension of the reference element |
|
inline |
Construct the common implementation of tensor product quadrature algorithms.
|
protectedpure virtual |
Computes the quadrature points for the reference interval.
order | The desired order of the quadrature |
points | An empty vector to populate with the quadrature points on the reference interval |
Implemented in ptems::GaussLegendreQuadraturePoints< DIM >, ptems::GaussLegendreQuadraturePoints< 1 >, and ptems::GaussLegendreQuadraturePoints< 2 >.
|
inlineoverrideprotectedvirtual |
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 |
Implements ptems::QuadraturePointAlgorithm< DIM >.
|
inlineinherited |
Gets the quadrature points for the specified reference element.
refElement | The reference element |
order | The desired order of the quadrature |
|
inlineinherited |
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 |
|
inlineinherited |
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 |
|
inlineinherited |
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 |