hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hpfem::physics::PropagatingMode< Dim > Class Template Reference

Assembles and solves the mode problem on a cross-section mesh. More...

#include <propagating_mode.hpp>

Public Member Functions

 PropagatingMode (const fespace::NedelecDofMap< 2 > &transverse, const fespace::DofMap< 2 > &longitudinal, WaveguideSetup setup)
 
Real wavenumber () const noexcept
 
Real max_index () const noexcept
 
std::vector< WaveguideMode > solve () const
 

Detailed Description

template<int Dim = 2>
class hpfem::physics::PropagatingMode< Dim >

Assembles and solves the mode problem on a cross-section mesh.

Constructor & Destructor Documentation

◆ PropagatingMode()

template<int Dim = 2>
hpfem::physics::PropagatingMode< Dim >::PropagatingMode ( const fespace::NedelecDofMap< 2 > &  transverse,
const fespace::DofMap< 2 > &  longitudinal,
WaveguideSetup  setup 
)
Exceptions
InvalidArgumentif the DoF maps belong to different meshes or orders, ω ≤ 0, or a material is lossy.

Member Function Documentation

◆ max_index()

template<int Dim = 2>
Real hpfem::physics::PropagatingMode< Dim >::max_index ( ) const
inlinenoexcept

◆ solve()

template<int Dim = 2>
std::vector< WaveguideMode > hpfem::physics::PropagatingMode< Dim >::solve ( ) const

Guided modes with \( 0 < \beta \le k_0 n_{\max} \), largest β first (fewer than num_modes if the structure guides fewer).

Exceptions
Errorif the eigensolver does not converge.

◆ wavenumber()

template<int Dim = 2>
Real hpfem::physics::PropagatingMode< Dim >::wavenumber ( ) const
inlinenoexcept

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