IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
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
Definition Archive.h:20
void computeNodesAndWeights() override
Computes the quadrature nodes and weights.
MidpointQuadrature(const ElementType &ref_element)
Construct a new Midpoint Quadrature object.
Quadrature(const ElementType &ref_element)
Construct a new Quadrature object.
Definition Quadrature.hpp:4