OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
Loading...
Searching...
No Matches
bem::rwg::DivRwgOp Class Reference

Class for computing the discrete divergence matrix for RWG functions. More...

#include <incidence.hpp>

+ Inheritance diagram for bem::rwg::DivRwgOp:

Detailed Description

Class for computing the discrete divergence matrix for RWG functions.

Computes

\[ \int_{\mathrm{obs\_tri}} d\mathcal{S}\,h(\vec{r})\, \int_{\mathrm{src\_tri}} d\mathcal{S}'\,\nabla'\cdot\vec{f_n}(\vec{r}\,') \]

for each source triangle edge \( n \), when obs_tri and src_tri coincide, otherwise zeros. Here, the pulse function \( h(\vec{r}) \) and RWG function \( \vec{f_i}(\vec{r}) \) for edge \( i \) are considered normalized such that the output contains \( 1 \), \( -1 \), or \( 0 \). Columns of the output correspond to source edges.

Definition at line 47 of file incidence.hpp.

Member Function Documentation

◆ compute()

EigMatMN< Complex, 1, 3 > bem::rwg::DivRwgOp::compute ( const Complex  k,
const Triangle< 3 > &  obs_tri,
const Triangle< 3 > &  src_tri 
)
inlineoverridevirtual

Computes an incidence matrix that can be used to take the divergence of RWG functions.

Parameters
[in]k- Complex wavenumber.
[in]obs_tri- Observation triangle.
[in]src_tri- Source triangle.
Returns
Operator values for each source triangle edge.

Implements bem::rwg::OperatorBase< 1, 3 >.

Definition at line 58 of file incidence.hpp.

◆ transform_coordinates()

static void bem::rwg::OperatorBase< obs_num_dof, src_num_dof >::transform_coordinates ( Triangle< 3 > &  obs_tri_local,
Triangle< 2 > &  src_tri_local,
const Triangle< 3 > &  obs_tri,
const Triangle< 3 > &  src_tri 
)
inlinestaticinherited

Transforms the coordinates of the observation and source triangles into a local coordinate system defined by the source triangle.

Parameters
[out]obs_tri_local- Observation triangle in the source's local coordinate system.
[out]src_tri_local- Source triangle in its local coordinate system.
[in]obs_tri- Original observation triangle.
[in]src_tri- Original source triangle.

Definition at line 73 of file base.hpp.


The documentation for this class was generated from the following file: