|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class for iterative Gaussian quadrature over a line segment. More...
#include <iterative_gauss.hpp>
Inheritance diagram for bem::IterativeGaussLineQuadrature< dim >:Class for iterative Gaussian quadrature over a line segment.
| dim | - Dimension of the line segment (1, 2, or 3). |
Important: upon construction, this class 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.
Definition at line 49 of file iterative_gauss.hpp.
|
inline |
Sets the quadrature order at which iterations should start.
| [in] | starting_order | - Starting quadrature order. |
Definition at line 60 of file iterative_gauss.hpp.
|
inline |
Returns the quadrature order at which iterations start.
Definition at line 73 of file iterative_gauss.hpp.
|
inline |
Sets the relative convergence tolerance defining when iterations should stop.
| [in] | tol | - Tolerance. |
Definition at line 80 of file iterative_gauss.hpp.
|
inline |
Returns the relative convergence tolerance defining when iterations should stop.
Definition at line 93 of file iterative_gauss.hpp.
|
inline |
Sets the maximum number of iterations allowed even if not converged.
| [in] | max_iters | - Maximum allowed iterations. |
Definition at line 100 of file iterative_gauss.hpp.
|
inline |
Returns the maximum number of iterations allowed even if not converged.
Definition at line 113 of file iterative_gauss.hpp.
|
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. |
Implements bem::LineQuadratureBase< dim >.
Definition at line 32 of file iterative_gauss.cpp.
|
inline |
Checks whether the iterations converged.
true if the iterations converged, false otherwise. Definition at line 133 of file iterative_gauss.hpp.
|
inline |
Returns the quadrature order at which the iterations converged.
Definition at line 146 of file iterative_gauss.hpp.
|
inlinevirtualinherited |
Sets the quadrature order.
| [in] | order | - Quadrature order. |
Reimplemented in bem::GaussLineQuadrature< dim >, and bem::GaussLineQuadrature< 1 >.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |