QPMS
Electromagnetic multiple scattering library and toolkit.
Loading...
Searching...
No Matches
Data Fields
qpms_scatspec_shapeinfo_t Struct Reference

#include <scatspec.h>

Collaboration diagram for qpms_scatspec_shapeinfo_t:
Collaboration graph
[legend]

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
 

Detailed Description

"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.

Field Documentation

◆ core

const char* qpms_scatspec_shapeinfo_t::core

core-shell sphere core material description; NULL for other kinds (owned by the spec)

◆ e_parm

double qpms_scatspec_shapeinfo_t::e_parm

superellipsoid east-west roundedness (0 for other kinds; only e_parm = 1 is supported)

◆ height

double qpms_scatspec_shapeinfo_t::height

cylinder, cone or cut-sphere height (0 for spheres and spheroids)

◆ lMax_extend

long qpms_scatspec_shapeinfo_t::lMax_extend

cylinder, cone or cut-sphere internal basis extension (0 otherwise)

◆ material

const char* qpms_scatspec_shapeinfo_t::material

particle material description (never NULL for analytic kinds; owned by the spec)

◆ mesh_lc

double qpms_scatspec_shapeinfo_t::mesh_lc

scuffgen characteristic mesh edge length (0 = default)

◆ n_edges

long qpms_scatspec_shapeinfo_t::n_edges

regular_prism/pyramid base polygon edge count (0 for other kinds)

◆ n_parm

double qpms_scatspec_shapeinfo_t::n_parm

superellipsoid north-south roundedness (0 for other kinds)

◆ outside

const char* qpms_scatspec_shapeinfo_t::outside

surrounding medium description; NULL if it defaults to the system medium (owned by the spec)

◆ radius

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

◆ radiusxy

double qpms_scatspec_shapeinfo_t::radiusxy

spheroid/superellipsoid equatorial semi-axis (0 for other kinds)

◆ radiusz

double qpms_scatspec_shapeinfo_t::radiusz

spheroid/superellipsoid polar semi-axis (0 for other kinds)

◆ shape_params

const char* qpms_scatspec_shapeinfo_t::shape_params

given" (owned by the spec; NULL otherwise)

scuffgen kind shape parameters "as


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