|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
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 |
Contour choice and integration settings.
| 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.
| Real hpfem::physics::RieszSetup::background_margin = 0.1 |
background contour: half width plus this fraction of the width
| Index hpfem::physics::RieszSetup::background_points = 48 |
trapezoidal points on the background contour
| 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.
| Real hpfem::physics::RieszSetup::max_radius = 0 |
cap of the pole circle radius [rad/s]; 0: none
| Real hpfem::physics::RieszSetup::min_radius_factor = 1e-4 |
poles closer than this fraction of |ω| share a contour
| Real hpfem::physics::RieszSetup::omega_max = 0 |
| Real hpfem::physics::RieszSetup::omega_min = 0 |
range of real frequencies the expansion is used at
| Index hpfem::physics::RieszSetup::points_per_pole |
trapezoidal points per pole circle (times the members of a group)
| std::vector<Complex> hpfem::physics::RieszSetup::poles |
quasi-normal modes (ω [rad/s]) to expand around; every pole inside the background contour must be listed
| Real hpfem::physics::RieszSetup::radius_factor |
pole circle radius as a fraction of the distance to the nearest pole or contour
| solvers::DirectSolverBackend hpfem::physics::RieszSetup::solver = solvers::DirectSolverBackend::kAuto |
| bool hpfem::physics::RieszSetup::store_fields = false |
keep the solutions on group / background contours (fields; needs store_residues)
| bool hpfem::physics::RieszSetup::store_residues = true |
keep the residue vectors (modal fields)