|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class for 2D quadrature over the source triangle with singularity treatment for RWG-based BEM operators. Reference: More...
#include <singularity.hpp>
Inheritance diagram for bem::rwg::SrcSingularity< TriangleQuadratureType, ScalarKernelType >:Class for 2D quadrature over the source triangle with singularity treatment for RWG-based BEM operators. Reference:
| TriangleQuadratureType | - Type of the triangle quadrature object, which must derive from TriangleQuadratureBase<2>. |
| ScalarKernelType | - Object for computing the scalar kernel with its singularity subtracted, which must derive from ScalarKernelBase<3>. |
Definition at line 52 of file singularity.hpp.
|
inline |
Constructs a SrcSingularity with a specified triangle quadrature object.
| [in] | tri_quad | - Triangle quadrature object to use for integration (optional). |
| [in] | kernel | - Object for computing the scalar kernel with its singularity subtracted (optional). |
Definition at line 72 of file singularity.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 31 of file singularity.tpp.
|
inline |
Provides read-only access to the triangle quadrature object for inspection.
Definition at line 96 of file singularity.hpp.
|
inline |
Provides writable access to the triangle quadrature object.
Definition at line 104 of file singularity.hpp.
|
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\). |