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

#include <propagating_mode.hpp>

Collaboration diagram for hpfem::physics::WaveguideSetup:
Collaboration graph
[legend]

Public Attributes

Real omega = 0
 angular frequency [rad/s]
 
materials::MaterialMap materials
 lossless, by cell tag
 
std::vector< mesh::Tag > pec_tags
 facets with n × E = 0 (E_t tangential and E_z)
 
Index num_modes = 2
 
Real max_index = 0
 
Index krylov_dimension = 0
 0: 2 num_modes + 10
 
Real tolerance = 1e-10
 
int max_iterations = 2000
 
solvers::DirectSolverBackend solver = solvers::DirectSolverBackend::kAuto
 

Member Data Documentation

◆ krylov_dimension

Index hpfem::physics::WaveguideSetup::krylov_dimension = 0

0: 2 num_modes + 10

◆ materials

materials::MaterialMap hpfem::physics::WaveguideSetup::materials

lossless, by cell tag

◆ max_index

Real hpfem::physics::WaveguideSetup::max_index = 0

Largest refractive index of the cross-section (0: maximum over the listed materials and the background); the search starts just beyond \( \beta = k_0 n_{\max} \).

◆ max_iterations

int hpfem::physics::WaveguideSetup::max_iterations = 2000

◆ num_modes

Index hpfem::physics::WaveguideSetup::num_modes = 2

guided modes wanted, largest β first

◆ omega

Real hpfem::physics::WaveguideSetup::omega = 0

angular frequency [rad/s]

◆ pec_tags

std::vector<mesh::Tag> hpfem::physics::WaveguideSetup::pec_tags

facets with n × E = 0 (E_t tangential and E_z)

◆ solver

solvers::DirectSolverBackend hpfem::physics::WaveguideSetup::solver = solvers::DirectSolverBackend::kAuto

Factorisation of the shifted pencil (kAuto: real Eigen SparseLU; kMumps / kCudss factorise the complexified pencil, see solvers::generalized_eigenpairs_near).

◆ tolerance

Real hpfem::physics::WaveguideSetup::tolerance = 1e-10

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