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

Description of a conical resonance problem. More...

#include <conical_resonance.hpp>

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

Public Attributes

Real target_omega = 0
 search centre [rad/s] (also the PML design frequency)
 
Real beta = 0
 longitudinal wavenumber k_z [1/m]
 
materials::MaterialMap materials
 by cell tag (per-cell overrides allowed); may be lossy
 
std::vector< mesh::Tag > pec_tags
 facets with n × E = 0
 
std::optional< pml::PmlBox< 2 > > pml
 
std::vector< assembly::PeriodicPair< 2 > > periodic
 Bloch-periodic directions with phases.
 
Index num_modes = 4
 eigenvalues wanted around the target
 
Index krylov_dimension = 0
 0: 2 num_modes + 10
 
Real tolerance = 1e-10
 
int max_iterations = 100
 
bool remove_gradients = true
 
solvers::DirectSolverBackend solver = solvers::DirectSolverBackend::kAuto
 
int extra_quadrature_order = 2
 
int pml_extra_quadrature_order = 6
 
ProgressCallback progress
 Phases of solve: assembly, constraints, eigensolve, post (see core/progress.hpp).
 

Detailed Description

Description of a conical resonance problem.

Member Data Documentation

◆ beta

Real hpfem::physics::ConicalResonanceSetup::beta = 0

longitudinal wavenumber k_z [1/m]

◆ extra_quadrature_order

int hpfem::physics::ConicalResonanceSetup::extra_quadrature_order = 2

◆ krylov_dimension

Index hpfem::physics::ConicalResonanceSetup::krylov_dimension = 0

0: 2 num_modes + 10

◆ materials

materials::MaterialMap hpfem::physics::ConicalResonanceSetup::materials

by cell tag (per-cell overrides allowed); may be lossy

◆ max_iterations

int hpfem::physics::ConicalResonanceSetup::max_iterations = 100

Arnoldi restarts

◆ num_modes

Index hpfem::physics::ConicalResonanceSetup::num_modes = 4

eigenvalues wanted around the target

◆ pec_tags

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

facets with n × E = 0

◆ periodic

std::vector<assembly::PeriodicPair<2> > hpfem::physics::ConicalResonanceSetup::periodic

Bloch-periodic directions with phases.

◆ pml

std::optional<pml::PmlBox<2> > hpfem::physics::ConicalResonanceSetup::pml

◆ pml_extra_quadrature_order

int hpfem::physics::ConicalResonanceSetup::pml_extra_quadrature_order = 6

◆ progress

ProgressCallback hpfem::physics::ConicalResonanceSetup::progress

Phases of solve: assembly, constraints, eigensolve, post (see core/progress.hpp).

◆ remove_gradients

bool hpfem::physics::ConicalResonanceSetup::remove_gradients = true

Project the gradient kernel (eigenvalue 0, as many as H1 DoFs) out of the Krylov space; off, the kernel is only kept away by the distance of the target from zero.

◆ solver

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

◆ target_omega

Real hpfem::physics::ConicalResonanceSetup::target_omega = 0

search centre [rad/s] (also the PML design frequency)

◆ tolerance

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

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