4 template <
typename T,
unsigned NumNodes1D,
typename ElementType>
16 template <
typename T,
unsigned NumNodes1D,
typename ElementType>
18 const T segment_length = (this->b_m - this->a_m) / NumNodes1D;
23 for (
unsigned i = 0; i < NumNodes1D; ++i) {
24 this->integration_nodes_m[i] = 0.5 * segment_length + i * segment_length + this->a_m;
Implementations for FFT constructor/destructor and transforms.
void computeNodesAndWeights() override
Computes the quadrature nodes and weights.
MidpointQuadrature(const ElementType &ref_element)
Construct a new Midpoint Quadrature object.
This is the base class for all quadrature rules.