|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class for Gaussian quadrature over a line segment. More...
#include <gauss.hpp>
Inheritance diagram for bem::GaussLineQuadrature< dim >:Class for Gaussian quadrature over a line segment.
| dim | - Dimension of the line segment (1, 2, or 3). |
|
inline |
Constructs a GaussLineQuadrature object with a specified quadrature order.
| [in] | order | - Quadrature order (optional). |
Important: this constructor loads tabulated quadrature data from a json file, and stores the tabulated quadrature data for all possible orders up to LINE_MAX_ORDER. Therefore, it is strongly recommended that objects of this class should be reused within loops, rather than creating a new object at each iteration of a long loop.
|
overridevirtual |
Sets the quadrature order.
| [in] | order | - Quadrature order. |
Reimplemented from bem::LineQuadratureBase< dim >.
|
overridevirtual |
Computes and stores the points on which to evaluate the integrand, and the corresponding weights.
| [in] | p1 | - First point of the line segment. |
| [in] | p2 | - Second point of the line segment. |
| [in] | eval | - Function or class with operator() that evaluates the integrand (optional, unused). |
Implements bem::LineQuadratureBase< dim >.
|
inlineinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |