|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class for iterative Gaussian quadrature over a triangle. More...
#include <iterative_gauss.hpp>
Inheritance diagram for bem::IterativeGaussTriangleQuadrature< dim >:Class for iterative Gaussian quadrature over a triangle.
| dim | - Dimension of the triangle (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 TRI_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 72 of file iterative_gauss.hpp.
|
inline |
Sets the relative convergence tolerance defining when iterations should stop.
| [in] | tol | - Tolerance. |
Definition at line 79 of file iterative_gauss.hpp.
|
inline |
Returns the relative convergence tolerance defining when iterations should stop.
Definition at line 91 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 98 of file iterative_gauss.hpp.
|
inline |
Returns the maximum number of iterations allowed even if not converged.
Definition at line 110 of file iterative_gauss.hpp.
|
overridevirtual |
Computes and stores the points on which to evaluate the integrand, and the corresponding weights.
| [in] | tri | - Triangle for quadrature evaluation. |
| [in] | eval | - Function or class with operator() that evaluates the integrand. |
Implements bem::TriangleQuadratureBase< 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 128 of file iterative_gauss.hpp.
|
inline |
Returns the quadrature order at which the iterations converged.
Definition at line 141 of file iterative_gauss.hpp.
|
inlinevirtualinherited |
Sets the quadrature order.
| [in] | order | - Quadrature order. |
Reimplemented in bem::GaussTriangleQuadrature< dim >, bem::GaussTriangleQuadrature< 2 >, and bem::GaussTriangleQuadrature< 3 >.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |