Electromagnetic Template Library (EMTL)
|
Ray structure. More...
#include <ray_tracing.h>
Public Attributes | |
Vector_3 | k |
normalized ray direction (Z) | |
Vector_3 | E |
normalized axis direction for reference polarization, normal to k (X) | |
valtype | a |
ray amplitude | |
Vector_3 | S |
3D part of the Stokes vector a^2*(1,S[0],S[1],S[2]) normalized on intensity a^2 in the basis (E,kE,k) | |
Vector_3 | pos |
current ray starting position | |
int | bounce |
number of scattering events for this ray (inherited from parent rays) | |
valtype | path |
length of ray path from source | |
int | pcell [3] |
number of crosses of container boundary (inherited from parent rays), NOT USED? | |
bool | absorbed |
flag to indicate that the ray was absorbed along the path (a<min_a) | |
bool | runaway |
flag to indicate that the ray exited the confinement | |
valtype | data = 0 |
extra data to be tracked along the ray. May be set up/changed by scatter function of a scat_t class. | |
Ray structure.