|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <waveguide_port.hpp>
Public Attributes | |
| Complex | beta |
| propagation constant [1/m], Im β ≥ 0 (evanescent: iβ'') | |
| Complex | effective_index |
| β / k0 | |
| Real | power = 0 |
| power [W] of the outgoing mode of unit amplitude (0 if evanescent) | |
| bool | propagating = false |
One mode of a port cross-section. Unit amplitude: in 2D the profile h is B-normalised, \( \int h^2/\varepsilon_r\,ds = 1 \), in 3D the coefficients of PropagatingMode have unit 2-norm. The sign is fixed independently of the port's orientation: in 2D the tangential electric field of the mode along the direction from the lexicographically smaller end point of the port to the larger one is positive at the port midpoint (a mode vanishing there has a positive slope); in 3D the largest Cartesian component of the mean transverse field \( \int E_t\,dS \) is positive (of its first moment about the port centre if the mean vanishes). Parallel ports of a straight guide therefore carry identical mode fields and \( S_{21} = e^{i\beta L} \).
| Complex hpfem::physics::PortMode::beta |
propagation constant [1/m], Im β ≥ 0 (evanescent: iβ'')
| Complex hpfem::physics::PortMode::effective_index |
β / k0
| Real hpfem::physics::PortMode::power = 0 |
power [W] of the outgoing mode of unit amplitude (0 if evanescent)
| bool hpfem::physics::PortMode::propagating = false |