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

Data Fields | |
| double | radius |
| double | height |
| long | lMax_extend |
| double | radiusxy |
| double | radiusz |
| double | radius_top |
| cone top base radius (0 for other kinds) | |
| double | radius_bottom |
| cone bottom base radius (0 for other kinds) | |
| double | radius_0 |
| core-shell sphere core radius (0 for other kinds) | |
| double | n_parm |
| double | e_parm |
| double | radius_major |
| torus/ring major radius (0 for other kinds) | |
| double | radius_minor |
| torus/ring minor radius (0 for other kinds) | |
| double | lengthx |
| rectangular_cuboid/wedge extent in x (0 otherwise) | |
| double | lengthy |
| rectangular_cuboid/wedge extent in y (0 otherwise) | |
| double | lengthz |
| rectangular_cuboid/wedge extent in z (0 otherwise) | |
| double | deltax |
| wedge top-face shift in x (0 otherwise) | |
| double | deltay |
| wedge top-face shift in y (0 otherwise) | |
| long | n_edges |
| double | shift |
| regular_prism base polygon azimuthal offset | |
| double | apex_shift |
| pyramid apex lateral displacement | |
| double | angle |
| pyramid apex displacement azimuth | |
| double | mesh_lc |
| const char * | shape_params |
| given" (owned by the spec; NULL otherwise) | |
| const char * | material |
| const char * | core |
| const char * | outside |
"As given" parameters of an analytic (sphere, cylinder, spheroid, cone, cut sphere, core-shell sphere, superellipsoid) particle kind. The material and outside descriptions mirror the way the material was specified in the YAML document (scalars verbatim, mappings rendered as comma-separated key=value pairs). The strings are borrowed from the spec. Unused numeric fields are set to zero.
| const char* qpms_scatspec_shapeinfo_t::core |
core-shell sphere core material description; NULL for other kinds (owned by the spec)
| double qpms_scatspec_shapeinfo_t::e_parm |
superellipsoid east-west roundedness (0 for other kinds; only e_parm = 1 is supported)
| double qpms_scatspec_shapeinfo_t::height |
cylinder, cone or cut-sphere height (0 for spheres and spheroids)
| long qpms_scatspec_shapeinfo_t::lMax_extend |
cylinder, cone or cut-sphere internal basis extension (0 otherwise)
| const char* qpms_scatspec_shapeinfo_t::material |
particle material description (never NULL for analytic kinds; owned by the spec)
| double qpms_scatspec_shapeinfo_t::mesh_lc |
scuffgen characteristic mesh edge length (0 = default)
| long qpms_scatspec_shapeinfo_t::n_edges |
regular_prism/pyramid base polygon edge count (0 for other kinds)
| double qpms_scatspec_shapeinfo_t::n_parm |
superellipsoid north-south roundedness (0 for other kinds)
| const char* qpms_scatspec_shapeinfo_t::outside |
surrounding medium description; NULL if it defaults to the system medium (owned by the spec)
| double qpms_scatspec_shapeinfo_t::radius |
sphere/cylinder/cut-sphere radius; outer radius (radius_N) for core-shell spheres; equatorial semi-axis for spheroids and superellipsoids
| double qpms_scatspec_shapeinfo_t::radiusxy |
spheroid/superellipsoid equatorial semi-axis (0 for other kinds)
| double qpms_scatspec_shapeinfo_t::radiusz |
spheroid/superellipsoid polar semi-axis (0 for other kinds)
| const char* qpms_scatspec_shapeinfo_t::shape_params |
given" (owned by the spec; NULL otherwise)
scuffgen kind shape parameters "as