EGSnrc C++ class library
Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
|
A structure corresponding to the EGSnrc particle stack common block STACK
.
More...
#include <egs_interface2.h>
Public Attributes | |
double | E [MXSTACK] |
EGS_Float | x [MXSTACK] |
EGS_Float | y [MXSTACK] |
EGS_Float | z [MXSTACK] |
EGS_Float | u [MXSTACK] |
EGS_Float | v [MXSTACK] |
EGS_Float | w [MXSTACK] |
EGS_Float | dnear [MXSTACK] |
EGS_Float | wt [MXSTACK] |
EGS_I32 | iq [MXSTACK] |
EGS_I32 | ir [MXSTACK] |
EGS_I32 | latch [MXSTACK] |
EGS_I32 | latchi |
EGS_I32 | np |
EGS_I32 | npold |
A structure corresponding to the EGSnrc particle stack common block STACK
.
Note that the stack size MXSTACK
is defined in a file array_sizes.h
that must be present in the user code directory. The mortran common block can be accessed via the_stack.
Definition at line 107 of file egs_interface2.h.
double EGS_Stack::E[MXSTACK] |
Array with particle energies in MeV including rest energy
Definition at line 109 of file egs_interface2.h.
Referenced by egsAusgab(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::x[MXSTACK] |
Arrays with particle x-positions in cartesian coordinates
Definition at line 111 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), egsHownear(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::y[MXSTACK] |
Arrays with particle y-positions in cartesian coordinates
Definition at line 113 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), egsHownear(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::z[MXSTACK] |
Arrays with particle z-positions in cartesian coordinates
Definition at line 115 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), egsHownear(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::u[MXSTACK] |
Arrays with particle x- direction cosines
Definition at line 117 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::v[MXSTACK] |
Arrays with particle y- direction cosines
Definition at line 119 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::w[MXSTACK] |
Arrays with particle z- direction cosines
Definition at line 121 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::dnear[MXSTACK] |
Array with nearest distances to a boundary
Definition at line 123 of file egs_interface2.h.
Referenced by EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_Float EGS_Stack::wt[MXSTACK] |
Array with statistical weights
Definition at line 125 of file egs_interface2.h.
Referenced by egsAusgab(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_I32 EGS_Stack::iq[MXSTACK] |
Particle charges
Definition at line 127 of file egs_interface2.h.
Referenced by egsAusgab(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_I32 EGS_Stack::ir[MXSTACK] |
Particle geometry regions
Definition at line 129 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), egsHownear(), egsStartParticle(), EGS_SimpleApplication::run(), EGS_AdvancedApplication::shower(), and EGS_AdvancedApplication::startNewParticle().
EGS_I32 EGS_Stack::latch[MXSTACK] |
Latch variables. Can be used to store some additional information about the particles used at run time
Definition at line 133 of file egs_interface2.h.
Referenced by egsAusgab(), EGS_SimpleApplication::run(), and EGS_AdvancedApplication::shower().
EGS_I32 EGS_Stack::latchi |
The initial particle latch variable
Definition at line 135 of file egs_interface2.h.
EGS_I32 EGS_Stack::np |
Number of particles currently on the stack
Definition at line 137 of file egs_interface2.h.
Referenced by egsAusgab(), egsHowfar(), egsHownear(), egsStartParticle(), EGS_SimpleApplication::run(), EGS_AdvancedApplication::shower(), and EGS_AdvancedApplication::startNewParticle().
EGS_I32 EGS_Stack::npold |
Number of particles on the stack before the last interaction occured
Definition at line 139 of file egs_interface2.h.