|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | URR_protareInfos () |
| LUPI_HOST | URR_protareInfos (Vector< Protare * > &a_protares) |
| LUPI_HOST void | setup (Vector< Protare * > &a_protares) |
| LUPI_HOST_DEVICE std::size_t | size () const |
| LUPI_HOST_DEVICE URR_protareInfo const & | operator[] (std::size_t a_index) const |
| template<typename RNG> | |
| LUPI_HOST_DEVICE void | updateProtare (MCGIDI::Protare const *a_protare, double a_energy, RNG &&a_rng) |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST_DEVICE std::size_t | internalSize () const |
Definition at line 451 of file MCGIDI.hpp.
|
inline |
Definition at line 457 of file MCGIDI.hpp.
URR_protareInfos constructor.
| a_protares | [in] The list of protares to be check for URR data. Each protare with URR data add to a_URR_protareInfos. |
Definition at line 34 of file MCGIDI_URR.cc.
|
inline |
Definition at line 468 of file MCGIDI.hpp.
|
inline |
Returns the instance of m_URR_protareInfos at index a_index.
Definition at line 463 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE void MCGIDI::URR_protareInfos::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 75 of file MCGIDI_URR.cc.
URR_protareInfos setup.
| a_protares | [in] The list of protares to be check for URR data. Each protare with URR data add to a_URR_protareInfos. |
Definition at line 45 of file MCGIDI_URR.cc.
Referenced by URR_protareInfos().
|
inline |
Definition at line 462 of file MCGIDI.hpp.
|
inline |
Updates this if a_protare has a non-negative URR_index.
| a_protare | [in] The protare whose URR_index is used to see if this needs updating. |
| a_energy | [in] The energy of the projectile. |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
Definition at line 33 of file MCGIDI_headerSource.hpp.