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

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
 

Detailed Description

A port of a scattering problem: the boundary facets of a waveguide cross-section.

Member Data Documentation

◆ facet_tag

mesh::Tag hpfem::physics::WaveguidePort::facet_tag = mesh::kNoTag

boundary facets of the port (straight / planar)

◆ incident

std::vector<Complex> hpfem::physics::WaveguidePort::incident

incoming amplitudes per mode (missing entries are 0)

◆ num_modes

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.

◆ pmc_tags

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.


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