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

Contour choice and integration settings. More...

#include <riesz_projection.hpp>

Public Attributes

std::vector< Complex > poles
 
Real omega_min = 0
 range of real frequencies the expansion is used at
 
Real omega_max = 0
 
Index points_per_pole
 trapezoidal points per pole circle (times the members of a group)
 
Index background_points = 48
 trapezoidal points on the background contour
 
Real radius_factor
 pole circle radius as a fraction of the distance to the nearest pole or contour
 
Real max_radius = 0
 cap of the pole circle radius [rad/s]; 0: none
 
Real min_radius_factor = 1e-4
 poles closer than this fraction of |ω| share a contour
 
Real background_margin = 0.1
 
Real background_aspect = 1.0
 
Real convergence_warning = 1e-4
 
bool store_residues = true
 keep the residue vectors (modal fields)
 
bool store_fields = false
 
solvers::DirectSolverBackend solver = solvers::DirectSolverBackend::kAuto
 

Detailed Description

Contour choice and integration settings.

Member Data Documentation

◆ background_aspect

Real hpfem::physics::RieszSetup::background_aspect = 1.0

Imaginary semi-axis of the background ellipse as a fraction of the real one (1: a circle); a flat ellipse encloses fewer of the heavily damped (PML) poles, which would otherwise all have to be listed in poles, but must still enclose the modes of interest.

◆ background_margin

Real hpfem::physics::RieszSetup::background_margin = 0.1

background contour: half width plus this fraction of the width

◆ background_points

Index hpfem::physics::RieszSetup::background_points = 48

trapezoidal points on the background contour

◆ convergence_warning

Real hpfem::physics::RieszSetup::convergence_warning = 1e-4

Relative difference between the N- and the N/2-point rule of a contour above which run warns.

◆ max_radius

Real hpfem::physics::RieszSetup::max_radius = 0

cap of the pole circle radius [rad/s]; 0: none

◆ min_radius_factor

Real hpfem::physics::RieszSetup::min_radius_factor = 1e-4

poles closer than this fraction of |ω| share a contour

◆ omega_max

Real hpfem::physics::RieszSetup::omega_max = 0

◆ omega_min

Real hpfem::physics::RieszSetup::omega_min = 0

range of real frequencies the expansion is used at

◆ points_per_pole

Index hpfem::physics::RieszSetup::points_per_pole
Initial value:
=
16

trapezoidal points per pole circle (times the members of a group)

◆ poles

std::vector<Complex> hpfem::physics::RieszSetup::poles

quasi-normal modes (ω [rad/s]) to expand around; every pole inside the background contour must be listed

◆ radius_factor

Real hpfem::physics::RieszSetup::radius_factor
Initial value:
=
0.3

pole circle radius as a fraction of the distance to the nearest pole or contour

◆ solver

◆ store_fields

bool hpfem::physics::RieszSetup::store_fields = false

keep the solutions on group / background contours (fields; needs store_residues)

◆ store_residues

bool hpfem::physics::RieszSetup::store_residues = true

keep the residue vectors (modal fields)


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