Data structure associated with the current photon/ray. More...
Public Attributes | |
float3 | p0 |
float3 | vec |
float3 | pout |
float4 | bary0 |
int | eid |
int | faceid |
int | isend |
int | nexteid |
float | weight |
float | photontimer |
float | slen0 |
float | slen |
float | Lmove |
double | Eabsorb |
unsigned int | photonid |
float * | partialpath |
void * | photonseed |
float | focus |
unsigned int | posidx |
unsigned int | oldidx |
double | oldweight |
float * | roisize |
int | roitype |
int | inroi |
int | roiidx |
int | refeid |
Data structure associated with the current photon/ray.
float4 MMC_ray::bary0 |
the Barycentric coordinate of the intersection with the tet
double MMC_ray::Eabsorb |
accummulated energy being absorbed
int MMC_ray::eid |
the index of the enclosing tet (starting from 1)
int MMC_ray::faceid |
the index of the face at which ray intersects with tet
float MMC_ray::focus |
focal length of the source, if defined
int MMC_ray::inroi |
if 1, inside edgeroi for the NEXT position; if 0, outside edgeroi
int MMC_ray::isend |
if 1, the scattering event ends before reaching the intersection
float MMC_ray::Lmove |
last photon movement length
int MMC_ray::nexteid |
the index to the neighboring tet to be moved into
float3 MMC_ray::p0 |
current photon position
float* MMC_ray::partialpath |
pointer to the partial path data buffer
unsigned int MMC_ray::photonid |
index of the current photon
void* MMC_ray::photonseed |
pointer to store the photon seed
float MMC_ray::photontimer |
the total time-of-fly of the photon
unsigned int MMC_ray::posidx |
launch position index of the photon for pattern source type
float3 MMC_ray::pout |
the intersection position of the ray to the enclosing tet
int MMC_ray::refeid |
reference element id that is used for face-based implicit MMC
int MMC_ray::roiidx |
edge(0-5), node (0-4) or face (0-4) index in a local element with ROIs
float* MMC_ray::roisize |
roisize, node/edge radii or face thickness
int MMC_ray::roitype |
if 1, the photon hits the edgeroi; if 2, the photon hits the node edgeroi; if 0, does not hit edgeroi
float MMC_ray::slen |
the remaining unitless scattering length = length*mus
float MMC_ray::slen0 |
initial unitless scattering length = length*mus
float3 MMC_ray::vec |
current photon direction vector
float MMC_ray::weight |
photon current weight