|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class integration over the source triangle for RWG-based BEM operators. The method of integration is chosen automatically and strategically based on mesh parameters, materials, and frequency. More...
#include <strategic.hpp>
Inheritance diagram for bem::rwg::SrcStrategic< TriangleQuadratureType, LineQuadratureType >:Class integration over the source triangle for RWG-based BEM operators. The method of integration is chosen automatically and strategically based on mesh parameters, materials, and frequency.
| TriangleQuadratureType | - Type of the triangle quadrature object, which must derive from TriangleQuadratureBase<2>. |
| LineQuadratureType | - Type of the line quadrature object, which must derive from LineQuadratureBase<1>. |
Definition at line 81 of file strategic.hpp.
|
inline |
Constructs a SrcStrategic integrator with specified line and triangle quadrature objects.
| [in] | settings | - Integration settings for singularity treatment and line integration (optional). |
| [in] | tri_quad | - Triangle quadrature object to use for integration (optional). |
| [in] | line_quad | - Line quadrature object to use for integration (optional). |
Definition at line 102 of file strategic.hpp.
|
overridevirtual |
Computes the integral over the source triangle.
| [in] | k | - Complex wavenumber. |
| [in] | src_tri | - Source triangle in 2D space. |
| [in] | r_obs | - Observation points in the local coordinate system of src_tri. |
Implements bem::rwg::SrcIntegratorBase.
Definition at line 30 of file strategic.tpp.
|
inlinevirtualinherited |
Sets flags defining which terms to compute during integration.
| [in] | compute_g_terms | - If true, computes \[ \int_{\mathrm{src\_tri}} d\mathcal{S}'\,G(k, \vec{r}, \vec{r}\,') \] and\[ \int_{\mathrm{src\_tri}} d\mathcal{S}'\,\vec{r}\,'\,G(k, \vec{r}, \vec{r}\,') \] for the scalar kernel \( G(k, \vec{r}, \vec{r}\,') \). |
| [in] | compute_grad_g_terms | - If true, computes \[ \int_{\mathrm{src\_tri}} d\mathcal{S}'\,\nabla G(k, \vec{r}, \vec{r}\,'), \] \[ \int_{\mathrm{src\_tri}} d\mathcal{S}'\,x'\,\nabla G(k, \vec{r}, \vec{r}\,'), \] and\[ \int_{\mathrm{src\_tri}} d\mathcal{S}'\,y'\,\nabla G(k, \vec{r}, \vec{r}\,'), \] for the scalar kernel \( G(k, \vec{r}, \vec{r}\,') \), and for local source triangle coordinates \(\vec{r}\,' = [x', y']^T\). |