API Reference
The following section outlines the API of scatsol.
Solution PEC Cylinder 2D
TM
Incident field:
\[ \begin{align}\begin{aligned}E_z = E_0 \exp{(-1j k x)}\\H_y = -\frac{E_0}{\eta} \exp{(-1j k x)}\end{aligned}\end{align} \]
Scattered field:
\[E_z = -E_0 \left(\frac{J_0(k a)}{H_0^{(2)}(k a)}H_0^{(2)}(k\rho)+2 \sum_{n=1}^{\infty}(-j)^n\frac{J_n(k a)}{H_n^{(2)}(k a)}H_n^{(2)}(k \rho)\cos(n\phi)\right )\]
TE
Utils
Constants
- scatsol.constant.FREE_SPACE_LIGHT_SPEED: float = 299792458.0
Speed of light in free space [m/s].
- scatsol.constant.FREE_SPACE_PERMEABILITY: float = 1.2566370614359173e-06
Permeability of free space [m kg s-2 A-2].
- scatsol.constant.FREE_SPACE_PERMITTIVITY: float = 8.85418782e-12
Permittivity of free space [m-3 kg-1 s4 A2].
- scatsol.constant.PI = 3.141592653589793
Pi constant.