|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | HeatedReactionCrossSectionMultiGroup () |
| LUPI_HOST | HeatedReactionCrossSectionMultiGroup (SetupInfo &a_setupInfo, Transporting::MC const &a_settings, std::size_t a_offset, std::vector< double > const &a_crossSection, double a_threshold) |
| LUPI_HOST_DEVICE double | operator[] (std::size_t a_index) const |
| LUPI_HOST_DEVICE double | threshold () const |
| LUPI_HOST_DEVICE std::size_t | offset () const |
| LUPI_HOST_DEVICE double | crossSection (std::size_t a_index, bool a_sampling=false) const |
| LUPI_HOST_DEVICE double | augmentedThresholdCrossSection () const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST void | write (FILE *a_file, std::size_t a_reactionIndex) const |
Definition at line 788 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::HeatedReactionCrossSectionMultiGroup::HeatedReactionCrossSectionMultiGroup | ( | ) |
Definition at line 1571 of file MCGIDI_heatedCrossSections.cc.
| LUPI_HOST MCGIDI::HeatedReactionCrossSectionMultiGroup::HeatedReactionCrossSectionMultiGroup | ( | SetupInfo & | a_setupInfo, |
| Transporting::MC const & | a_settings, | ||
| std::size_t | a_offset, | ||
| std::vector< double > const & | a_crossSection, | ||
| double | a_threshold ) |
|
inline |
Returns the value of the m_augmentedThresholdCrossSection.
Definition at line 816 of file MCGIDI.hpp.
|
inline |
Definition at line 805 of file MCGIDI.hpp.
|
inline |
Returns the value of the m_offset.
Definition at line 804 of file MCGIDI.hpp.
|
inline |
Returns the value of the cross section at multi-group index a_index.
Definition at line 802 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE void MCGIDI::HeatedReactionCrossSectionMultiGroup::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 1603 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Returns the value of the m_threshold.
Definition at line 803 of file MCGIDI.hpp.
| LUPI_HOST void MCGIDI::HeatedReactionCrossSectionMultiGroup::write | ( | FILE * | a_file, |
| std::size_t | a_reactionIndex ) const |
This method writes the multi-group data.
| a_file | [in] The buffer to read or write data to depending on a_mode. |
| a_reactionIndex | [in] The index of the reaction. |
Definition at line 1618 of file MCGIDI_heatedCrossSections.cc.