Wave port mode calculation right now inherits all PEC boundary conditions from the 3D problem. Conductivity boundaries should also be considered as PEC for mode calculation (otherwise it was expected the user adds them with "WavePortPEC").
Also updates the eigenvalue target for the shifted wave port eigemode problem to EigenvalueSolver::WhichType::SMALLEST_REAL, which appropriately deprioritizes evanescent modes with large imaginary part and small real part of k_n.
Wave port mode calculation right now inherits all PEC boundary conditions from the 3D problem. Conductivity boundaries should also be considered as PEC for mode calculation (otherwise it was expected the user adds them with
"WavePortPEC"
).Also updates the eigenvalue target for the shifted wave port eigemode problem to
EigenvalueSolver::WhichType::SMALLEST_REAL
, which appropriately deprioritizes evanescent modes with large imaginary part and small real part ofk_n
.