|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class for computing the scalar Green's function for homogeneous, linear, and isotropic materials. More...
#include <hgf.hpp>
Inheritance diagram for bem::HGF:Class for computing the scalar Green's function for homogeneous, linear, and isotropic materials.
| Complex bem::HGF::kernel | ( | ConstEigRef< EigColVecN< Float, 3 > > | r_obs, |
| ConstEigRef< EigColVecN< Float, 3 > > | r_src, | ||
| const Complex | k | ||
| ) | const |
Computes the kernel for given observation and source points.
| [in] | r_obs | - Observer position vector. |
| [in] | r_src | - Source position vector. |
| [in] | k | - Complex wavenumber. |
Computes
\[ \frac{e^{-jk|\vec{r} - \vec{r}\,'|}}{4\pi|\vec{r} - \vec{r}\,'|} \]
where \( \vec{r} \) is the observer position vector, \( \vec{r}\,' \) is the source position vector, and \( k \) is the complex wavenumber.
| EigColVecN< Complex, 3 > bem::HGF::grad_kernel | ( | ConstEigRef< EigColVecN< Float, 3 > > | r_obs, |
| ConstEigRef< EigColVecN< Float, 3 > > | r_src, | ||
| const Complex | k | ||
| ) | const |
Computes the gradient of the kernel for given observation and source points.
| [in] | r_obs | - Observer position vector. |
| [in] | r_src | - Source position vector. |
| [in] | k | - Complex wavenumber. |
Computes
\[ \nabla\left(\frac{e^{-jk|\vec{r} - \vec{r}\,'|}}{4\pi|\vec{r} - \vec{r}\,'|}\right) = -(\vec{r} - \vec{r}\,')\left(1 + jk|\vec{r} - \vec{r}\,'|\right) \frac{e^{-jk|\vec{r} - \vec{r}\,'|}}{4\pi|\vec{r} - \vec{r}\,'|^3} \]
where \( \vec{r} \) is the observer position vector, \( \vec{r}\,' \) is the source position vector, and \( k \) is the complex wavenumber.
|
pure virtualinherited |
Computes the scalar kernel for given observation and source points.
| [in] | r_obs | - Observer position vector. |
| [in] | r_src | - Source position vector. |
| [in] | k | - Complex wavenumber. |
|
pure virtualinherited |
Computes the gradient of the scalar kernel for given observation and source points.
| [in] | r_obs | - Observer position vector. |
| [in] | r_src | - Source position vector. |
| [in] | k | - Complex wavenumber. |