![]() |
QPMS
Electromagnetic multiple scattering library and toolkit.
|
kind: resonances experiment data.
More...
#include <simspec.h>

Data Fields | |
| qpms_simspec_solver_t | solver |
| _Bool | has_ellipse |
| _Complex double | ellipse_centre |
| Contour centre [rad/s]. | |
| double | ellipse_ar |
| double | ellipse_ai |
| Real/imaginary half-axes [rad/s]. | |
| long | ellipse_points |
| Contour discretisation points. | |
| _Bool | has_rectangle |
| _Complex double | rect_min |
| _Complex double | rect_max |
| Region corners [rad/s]. | |
| long | rect_points_per_side |
| qpms_simspec_quadrature_t | quadrature |
| long | probe_width |
| Probe block width: L (beyn) / k_sub (recursive). | |
| double | rank_tol |
| Relative singular-value cutoff (NaN = default). | |
| double | residual_tol |
| Pair convergence tolerance (NaN = default). | |
| _Bool | compute_residuals |
| double | k_relax |
| Recursive-Beyn relaxation (NaN = default). | |
| long | max_depth |
| Recursive-Beyn depth limit (0 = default). | |
| long | nodes_per_side |
| Recursive-Beyn GL nodes per side (0 = default). | |
| double | noise_floor_factor |
| double | residual_stall_factor |
| (NaN = default 0.5; 0 = off). | |
| long | subspace_size |
| FEAST subspace size (0 = default). | |
| long | max_iter |
| FEAST iteration budget (0 = default). | |
| unsigned long long | seed |
| _Bool | has_seed |
| int | workers |
| Node-loop worker threads (0 = default). | |
| double | bloch [3] |
| Bloch vector [rad/m] (periodic systems; unused = 0). | |
| _Bool | has_band |
| Diffracted-order contour sugar (periodic). | |
| long | band_index |
| _Bool | band_above |
| double | band_interval_factor |
| double | band_aspect_ratio |
| qpms_simspec_irreps_t | irreps |
| Irrep selection (finite systems). | |
| char ** | irrep_labels |
| Owned labels (IRREPS_LIST only). | |
| size_t | nirrep_labels |
| _Bool | save_eigenvectors |
| _Bool | has_fields |
| double | fields_plane_z |
| z of the evaluation plane [m]. | |
| double | fields_half |
| long | fields_resolution |
| grid points per side (>= 2). | |
| double | fields_max_residual |
| _Bool | contour_kdep |
| True when any of the *_expr fields is set. | |
| char * | ellipse_centre_expr |
| Owned; NULL unless k-dependent. | |
| char * | ellipse_ar_expr |
| Owned; NULL unless k-dependent. | |
| char * | ellipse_ai_expr |
| Owned; NULL unless k-dependent. | |
| char * | rect_min_expr |
| Owned; NULL unless k-dependent. | |
| char * | rect_max_expr |
| Owned; NULL unless k-dependent. | |
kind: resonances experiment data.
Zero/NaN values of the solver options mean "use the library default"; the mapping to the libnles option fields is documented in ai_notes/simspec_draft.md.
| _Bool qpms_simspec_resonances_t::compute_residuals |
Report residuals of all candidate pairs without dropping any (beyn; requires the eval callback). Overrides nothing: pairs are still filtered by residual_tol > 0.
| double qpms_simspec_resonances_t::fields_half |
half-width of the square grid [m]; the grid spans [-half, half] along both x and y.
| double qpms_simspec_resonances_t::fields_max_residual |
NaN = store fields for all found pairs; otherwise only those whose relative residual is below this.
| double qpms_simspec_resonances_t::noise_floor_factor |
Solve-callback accuracy factor scaling the rank-decision noise floor (NaN = default); raise for ill-conditioned mode-problem matrices (LU back-error amplification near resonances creates phantom eigenpairs otherwise).
| long qpms_simspec_resonances_t::rect_points_per_side |
Rectangle quadrature nodes per boundary edge (0 = default 32).
| double qpms_simspec_resonances_t::residual_stall_factor |
(NaN = default 0.5; 0 = off).
Recursive-Beyn refinement-stall factor