OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
MidpointQuadrature.h
Go to the documentation of this file.
1// Class MidpointQuadrature
2// This is a class representing a midpoint quadrature rule.
3
4#ifndef IPPL_MIDPOINTQUADRATURE_H
5#define IPPL_MIDPOINTQUADRATURE_H
6
8
9namespace ippl {
10
18 template <typename T, unsigned NumNodes1D, typename ElementType>
19 class MidpointQuadrature : public Quadrature<T, NumNodes1D, ElementType> {
20 public:
26 MidpointQuadrature(const ElementType& ref_element);
27
31 void computeNodesAndWeights() override;
32 };
33
34} // namespace ippl
35
37
38#endif
ElementType
Definition: ElementBase.h:88
Implementations for FFT constructor/destructor and transforms.
Definition: Archive.h:20
This is a class representing the midpoint quadrature rule.
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.
Definition: Quadrature.h:35