GGEMS class handling global world (space between navigators) in GGEMS.
More...
#include "GGEMSWorld.hh"
GGEMS class handling global world (space between navigators) in GGEMS.
Definition at line 55 of file GGEMSWorld.hh.
◆ GGEMSWorld() [1/3]
GGEMSWorld::GGEMSWorld |
( |
void |
| ) |
|
◆ ~GGEMSWorld()
GGEMSWorld::~GGEMSWorld |
( |
void |
| ) |
|
◆ GGEMSWorld() [2/3]
GGEMSWorld::GGEMSWorld |
( |
GGEMSWorld const & |
world | ) |
|
|
delete |
Avoid copy by reference.
- Parameters
-
world | - reference on the GGEMS world |
◆ GGEMSWorld() [3/3]
GGEMSWorld::GGEMSWorld |
( |
GGEMSWorld const && |
world | ) |
|
|
delete |
Avoid copy by rvalue reference.
- Parameters
-
world | - rvalue reference on the GGEMS world |
◆ CheckParameters()
void GGEMSWorld::CheckParameters |
( |
void |
| ) |
const |
|
private |
◆ EnableTracking()
void GGEMSWorld::EnableTracking |
( |
void |
| ) |
|
Enable tracking during simulation.
Definition at line 244 of file GGEMSWorld.cc.
◆ Initialize()
void GGEMSWorld::Initialize |
( |
void |
| ) |
|
initialize and check parameters for world
Definition at line 275 of file GGEMSWorld.cc.
◆ InitializeKernel()
void GGEMSWorld::InitializeKernel |
( |
void |
| ) |
|
|
private |
Initialize kernel for world tracking.
Definition at line 253 of file GGEMSWorld.cc.
◆ operator=() [1/2]
Avoid copy by rvalue reference.
- Parameters
-
world | - rvalue reference on the GGEMS world |
◆ operator=() [2/2]
Avoid assignement by reference.
- Parameters
-
world | - reference on the GGEMS world |
◆ SaveEnergySquaredTracking()
void GGEMSWorld::SaveEnergySquaredTracking |
( |
void |
| ) |
const |
|
private |
◆ SaveEnergyTracking()
void GGEMSWorld::SaveEnergyTracking |
( |
void |
| ) |
const |
|
private |
◆ SaveMomentum()
void GGEMSWorld::SaveMomentum |
( |
void |
| ) |
const |
|
private |
◆ SavePhotonTracking()
void GGEMSWorld::SavePhotonTracking |
( |
void |
| ) |
const |
|
private |
◆ SaveResults()
void GGEMSWorld::SaveResults |
( |
void |
| ) |
const |
◆ SetDimension()
void GGEMSWorld::SetDimension |
( |
GGsize const & |
dimension_x, |
|
|
GGsize const & |
dimension_y, |
|
|
GGsize const & |
dimension_z |
|
) |
| |
set the dimension of the world in X, Y and Z
- Parameters
-
dimension_x | - dimension in X |
dimension_y | - dimension in Y |
dimension_z | - dimension in Z |
Definition at line 186 of file GGEMSWorld.cc.
◆ SetElementSize()
void GGEMSWorld::SetElementSize |
( |
GGfloat const & |
size_x, |
|
|
GGfloat const & |
size_y, |
|
|
GGfloat const & |
size_z, |
|
|
std::string const & |
unit = "mm" |
|
) |
| |
set the size of elements of the world in X, Y and Z
- Parameters
-
size_x | - size in X |
size_y | - size in Y |
size_z | - size in Z |
unit | - unit of the distance |
Definition at line 197 of file GGEMSWorld.cc.
◆ SetEnergySquaredTracking()
void GGEMSWorld::SetEnergySquaredTracking |
( |
bool const & |
is_activated | ) |
|
activating energy squared tracking in world
- Parameters
-
is_activated | - boolean activating energy squared tracking |
Definition at line 226 of file GGEMSWorld.cc.
◆ SetEnergyTracking()
void GGEMSWorld::SetEnergyTracking |
( |
bool const & |
is_activated | ) |
|
activating energy tracking in world
- Parameters
-
is_activated | - boolean activating energy tracking |
Definition at line 217 of file GGEMSWorld.cc.
◆ SetMomentum()
void GGEMSWorld::SetMomentum |
( |
bool const & |
is_activated | ) |
|
activating sum of momentum in world
- Parameters
-
is_activated | - boolean activating sum of momentum in world |
Definition at line 235 of file GGEMSWorld.cc.
◆ SetOutputWorldBasename()
void GGEMSWorld::SetOutputWorldBasename |
( |
std::string const & |
output_basename | ) |
|
set output basename storing world tracking
- Parameters
-
output_basename | - name of output world basename |
Definition at line 154 of file GGEMSWorld.cc.
◆ SetPhotonTracking()
void GGEMSWorld::SetPhotonTracking |
( |
bool const & |
is_activated | ) |
|
activating photon tracking in world
- Parameters
-
is_activated | - boolean activating photon tracking |
Definition at line 208 of file GGEMSWorld.cc.
◆ Tracking()
void GGEMSWorld::Tracking |
( |
GGsize const & |
thread_index | ) |
|
track particles through world
- Parameters
-
thread_index | - index of activated device (thread index) |
Definition at line 317 of file GGEMSWorld.cc.
◆ dimensions_
◆ is_energy_squared_tracking_
bool GGEMSWorld::is_energy_squared_tracking_ |
|
private |
Boolean for energy squared deposit
Definition at line 218 of file GGEMSWorld.hh.
◆ is_energy_tracking_
bool GGEMSWorld::is_energy_tracking_ |
|
private |
◆ is_momentum_
bool GGEMSWorld::is_momentum_ |
|
private |
◆ is_photon_tracking_
bool GGEMSWorld::is_photon_tracking_ |
|
private |
◆ kernel_world_tracking_
cl::Kernel** GGEMSWorld::kernel_world_tracking_ |
|
private |
OpenCL kernel computing world tracking
Definition at line 222 of file GGEMSWorld.hh.
◆ number_activated_devices_
GGsize GGEMSWorld::number_activated_devices_ |
|
private |
◆ sizes_
◆ tracking_kernel_option_
std::string GGEMSWorld::tracking_kernel_option_ |
|
private |
◆ world_output_basename_
std::string GGEMSWorld::world_output_basename_ |
|
private |
◆ world_recording_
The documentation for this class was generated from the following files: