![]() |
QPMS
Electromagnetic multiple scattering library and toolkit.
|
#include <simspec.h>

Data Fields | |
| _Bool | path_auto |
| Use the suggested path in full. | |
| char ** | vertices |
| Explicit vertex sequence (owned names). | |
| size_t | nvertices |
| _Bool | has_mesh |
| int | mesh [3] |
| Mesh divisions (unused dimensions = 1). | |
| long | resolution |
| int | workers |
| qpms_simspec_resonances_t | solver |
| (contour, options, irreps; bloch unused). | |
kind: bandstructure experiment data (k-swept resonance mode solving; the complex-plane band structure). Resonance mode solving (complex omega, libnles) swept over a set of Bloch vectors: a high-symmetry k-path (path: auto or an explicit vertex sequence, as in kind: bandstructure_svd) or an irreducible k mesh (mesh: {n: [...]}) — the complete band-structure workflow. The effective contour is derived per k: the band contour sugar (band:, cf. kind: resonances) is evaluated at each k of the sweep, so the contour stays clear of the (k-dependent) Rayleigh threshold and empty-lattice band edges; an explicit contour is used verbatim at every k (the region must then contain the band family for the whole sweep).
The time-reversal mesh reduction of kind: bandstructure_svd is not available here (the k ~ -k pairing holds only at real omega; the space-group reduction itself remains valid at complex omega). One experiment follows one band family; run several experiments with different band indices for several families.
solver carries the resonances-style solver specification (its bloch member is unused: the Bloch vector is implied by the path/mesh selection).
| _Bool qpms_simspec_bandstructure_t::has_mesh |
Mesh mode (mutually exclusive with the path; mesh holds the divisions).
| long qpms_simspec_bandstructure_t::resolution |
Points per path segment (including the segment endpoints).
| qpms_simspec_resonances_t qpms_simspec_bandstructure_t::solver |
(contour, options, irreps; bloch unused).
Solver specification
| int qpms_simspec_bandstructure_t::workers |
Concurrent k-point solves (0 = serial). Cf. solver.workers = libnles node threads within one solve.