|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI_functions.hpp>
Additional Inherited Members | |
| Protected Attributes inherited from MCGIDI::Functions::Function1d | |
| Function1dType | m_type |
Definition at line 243 of file MCGIDI_functions.hpp.
| LUPI_HOST_DEVICE MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::TerrellFissionNeutronMultiplicityModel | ( | ) |
Definition at line 818 of file MCGIDI_functions.cc.
| LUPI_HOST MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::TerrellFissionNeutronMultiplicityModel | ( | double | a_width, |
| Function1d_d1 * | a_multiplicity ) |
Definition at line 828 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::~TerrellFissionNeutronMultiplicityModel | ( | ) |
Definition at line 840 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE double MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::evaluate | ( | double | a_energy | ) | const |
Evaluated the m_multiplicity function at energy a_energy.
| a_energy | [in] The energy of the projectile. |
Definition at line 853 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE int MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::sampleBoundingInteger | ( | double | a_energy, |
| RNG && | a_rng ) const |
Sample the number of fission prompt neutrons using Terrell's modified Gaussian distribution. Method uses Red Cullen's algoritm (see UCRL-TR-222526).
| a_energy | [in] The energy of the projectile. |
| a_rng | [in] The random number generator function the uses a_rngState to generator a double in the range [0, 1.0). |
| a_rngState | [in/out] The random number generator state. |
Definition at line 1617 of file MCGIDI_headerSource.hpp.
| LUPI_HOST_DEVICE void MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::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 866 of file MCGIDI_functions.cc.