hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | List of all members
hpfem::physics::PortMode Struct Reference

#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
 

Detailed Description

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} \).

Member Data Documentation

◆ beta

Complex hpfem::physics::PortMode::beta

propagation constant [1/m], Im β ≥ 0 (evanescent: iβ'')

◆ effective_index

Complex hpfem::physics::PortMode::effective_index

β / k0

◆ power

Real hpfem::physics::PortMode::power = 0

power [W] of the outgoing mode of unit amplitude (0 if evanescent)

◆ propagating

bool hpfem::physics::PortMode::propagating = false

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