IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
MidpointQuadrature.h
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
7#include "FEM/Quadrature/Quadrature.h"
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
36#include "FEM/Quadrature/MidpointQuadrature.hpp"
37
38#endif
This is a class representing the midpoint quadrature rule.
Definition MidpointQuadrature.h:19
void computeNodesAndWeights() override
Computes the quadrature nodes and weights.
Definition MidpointQuadrature.hpp:17
This is the base class for all quadrature rules.
Definition Quadrature.h:35
Definition Archive.h:20