|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
A port of a scattering problem: the boundary facets of a waveguide cross-section. More...
#include <waveguide_port.hpp>
Public Attributes | |
| mesh::Tag | facet_tag = mesh::kNoTag |
| Index | num_modes = 1 |
| std::vector< Complex > | incident |
| std::vector< mesh::Tag > | pmc_tags |
A port of a scattering problem: the boundary facets of a waveguide cross-section.
| mesh::Tag hpfem::physics::WaveguidePort::facet_tag = mesh::kNoTag |
boundary facets of the port (straight / planar)
| std::vector<Complex> hpfem::physics::WaveguidePort::incident |
incoming amplitudes per mode (missing entries are 0)
| Index hpfem::physics::WaveguidePort::num_modes = 1 |
Modes of the expansion: guided modes first (largest β), then (2D only) the evanescent ones with the slowest decay; more modes absorb more of the near field at the port.
| std::vector<mesh::Tag> hpfem::physics::WaveguidePort::pmc_tags |
3D: boundary facet tags of magnetic walls (symmetry planes, natural boundary of the volume problem) that the port touches. Rim edges of the cross-section on facets with these tags are natural (PMC) in the mode solver, the rest of the rim stays PEC; with a symmetry plane through the guide the port then carries the modes whose tangential electric field is even about the plane (TE-like for the mid-plane of a strip waveguide in a symmetric cladding). Empty: the whole rim is PEC.