|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | ACE_URR_probabilityTables () |
| LUPI_HOST_DEVICE | ACE_URR_probabilityTables (std::size_t a_capacity) |
| LUPI_HOST_DEVICE | ~ACE_URR_probabilityTables () |
| LUPI_HOST_DEVICE std::size_t | capacity () const |
| LUPI_HOST_DEVICE std::size_t | size () const |
| LUPI_HOST_DEVICE void | reserve (std::size_t a_capacity) |
| LUPI_HOST_DEVICE void | push_back (ACE_URR_probabilityTable *a_ACE_URR_probabilityTable) |
| LUPI_HOST_DEVICE double | domainMin () const |
| LUPI_HOST_DEVICE double | domainMax () const |
| LUPI_HOST_DEVICE double | sample (double a_energy, double a_rng_Value) |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
Public Attributes | |
| Vector< double > | m_energies |
| Vector< ACE_URR_probabilityTable * > | m_ACE_URR_probabilityTables |
Class to store ACE URR probability tables at a list of projectile energies for one type of reaction (e.g., total, elastic).
Definition at line 499 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::ACE_URR_probabilityTables::ACE_URR_probabilityTables | ( | ) |
Simple constructor needed for broadcasting.
Definition at line 169 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE MCGIDI::ACE_URR_probabilityTables::ACE_URR_probabilityTables | ( | std::size_t | a_capacity | ) |
| a_capacity | [in] The number of energy slots to reverse. |
Definition at line 177 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE MCGIDI::ACE_URR_probabilityTables::~ACE_URR_probabilityTables | ( | ) |
Definition at line 186 of file MCGIDI_URR.cc.
|
inline |
Returns the number of energies allocated to store probability tables.
Definition at line 509 of file MCGIDI.hpp.
Referenced by push_back().
|
inline |
Returns the maximum energy where URR data are specified.
Definition at line 517 of file MCGIDI.hpp.
|
inline |
Returns the minimum energy where URR data are specified.
Definition at line 516 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE void MCGIDI::ACE_URR_probabilityTables::push_back | ( | ACE_URR_probabilityTable * | a_ACE_URR_probabilityTable | ) |
Adds a_ACE_URR_probabilityTable to the end of this.
| a_ACE_URR_probabilityTable | [in] ACE_URR_probabilityTable instance to add. |
Definition at line 209 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE void MCGIDI::ACE_URR_probabilityTables::reserve | ( | std::size_t | a_capacity | ) |
Calls reserve for m_energies and m_ACE_URR_probabilityTables with the value a_capacity.
| a_capacity | [in] The size of the space to reserve. |
Definition at line 197 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE double MCGIDI::ACE_URR_probabilityTables::sample | ( | double | a_energy, |
| double | a_rng_Value ) |
Returns the cross section corresponding to the probability a_rng_Value.
| a_energy | [in] The incident projectiles energy. |
| a_rng_Value | [in] A random number in the range [0,1). |
Definition at line 225 of file MCGIDI_URR.cc.
Referenced by sample().
| LUPI_HOST_DEVICE void MCGIDI::ACE_URR_probabilityTables::serialize | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode ) |
This method serializes this for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack this or unpack this depending on a_mode.
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 245 of file MCGIDI_URR.cc.
Referenced by MCGIDI::serializeACE_URR_probabilityTables().
|
inline |
Returns the number of energies that have URR probability tables.
Definition at line 511 of file MCGIDI.hpp.
| Vector<ACE_URR_probabilityTable *> MCGIDI::ACE_URR_probabilityTables::m_ACE_URR_probabilityTables |
List of probabilities tables. One for each energy in m_energies.
Definition at line 503 of file MCGIDI.hpp.
Referenced by ACE_URR_probabilityTables(), push_back(), reserve(), sample(), serialize(), and ~ACE_URR_probabilityTables().
| Vector<double> MCGIDI::ACE_URR_probabilityTables::m_energies |
List of energies where probabilities tables are given.
Definition at line 502 of file MCGIDI.hpp.
Referenced by ACE_URR_probabilityTables(), capacity(), domainMax(), domainMin(), push_back(), reserve(), sample(), serialize(), and size().