|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | HeatedCrossSectionMultiGroup () |
| LUPI_HOST | HeatedCrossSectionMultiGroup (LUPI::StatusMessageReporting &a_smr, GIDI::ProtareSingle const &a_protare, SetupInfo &a_setupInfo, Transporting::MC const &a_settings, GIDI::Styles::TemperatureInfo const &a_temperatureInfo, GIDI::Transporting::Particles const &a_particles, std::vector< GIDI::Reaction const * > const &a_reactions, std::string const &a_label, bool a_zeroReactions, GIDI::ExcludeReactionsSet const &a_reactionsToExclude) |
| LUPI_HOST_DEVICE | ~HeatedCrossSectionMultiGroup () |
| LUPI_HOST_DEVICE HeatedReactionCrossSectionMultiGroup * | operator[] (std::size_t a_index) const |
| LUPI_HOST_DEVICE std::size_t | numberOfReactions () const |
| LUPI_HOST_DEVICE std::size_t | thresholdOffset (std::size_t a_index) const |
| LUPI_HOST_DEVICE double | threshold (std::size_t a_index) const |
| LUPI_HOST_DEVICE Vector< double > & | totalCrossSection () |
| LUPI_HOST_DEVICE double | crossSection (std::size_t a_hashIndex, bool a_sampling=false) const |
| LUPI_HOST_DEVICE double | augmentedCrossSection (std::size_t a_hashIndex) const |
| LUPI_HOST_DEVICE double | reactionCrossSection (std::size_t a_reactionIndex, std::size_t a_hashIndex, bool a_sampling=false) const |
| LUPI_HOST_DEVICE double | depositionEnergy (std::size_t a_hashIndex) const |
| LUPI_HOST_DEVICE double | depositionMomentum (std::size_t a_hashIndex) const |
| LUPI_HOST_DEVICE double | productionEnergy (std::size_t a_hashIndex) const |
| LUPI_HOST_DEVICE double | gain (std::size_t a_hashIndex, int a_particleIndex) const |
| LUPI_HOST_DEVICE double | gainViaIntid (std::size_t a_hashIndex, int a_particleIntid) const |
| LUPI_HOST void | setUserParticleIndex (int a_particleIndex, int a_userParticleIndex) |
| LUPI_HOST void | setUserParticleIndexViaIntid (int a_particleIntid, int a_userParticleIndex) |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST void | write (FILE *a_file) const |
Definition at line 826 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::HeatedCrossSectionMultiGroup::HeatedCrossSectionMultiGroup | ( | ) |
Definition at line 1629 of file MCGIDI_heatedCrossSections.cc.
| LUPI_HOST MCGIDI::HeatedCrossSectionMultiGroup::HeatedCrossSectionMultiGroup | ( | LUPI::StatusMessageReporting & | a_smr, |
| GIDI::ProtareSingle const & | a_protare, | ||
| SetupInfo & | a_setupInfo, | ||
| Transporting::MC const & | a_settings, | ||
| GIDI::Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| GIDI::Transporting::Particles const & | a_particles, | ||
| std::vector< GIDI::Reaction const * > const & | a_reactions, | ||
| std::string const & | a_label, | ||
| bool | a_zeroReactions, | ||
| GIDI::ExcludeReactionsSet const & | a_reactionsToExclude ) |
| LUPI_HOST_DEVICE MCGIDI::HeatedCrossSectionMultiGroup::~HeatedCrossSectionMultiGroup | ( | ) |
Definition at line 1715 of file MCGIDI_heatedCrossSections.cc.
Referenced by ~HeatedCrossSectionMultiGroup().
|
inline |
Returns the value of the of the augmented cross section the reaction at index a_index.
Definition at line 856 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE double MCGIDI::HeatedCrossSectionMultiGroup::crossSection | ( | std::size_t | a_hashIndex, |
| bool | a_sampling = false ) const |
Returns the multi-group cross section.
| a_hashIndex | [in] The multi-group index. |
| a_sampling | [in] Fix me. |
Definition at line 1730 of file MCGIDI_heatedCrossSections.cc.
Referenced by crossSection(), and reactionCrossSection().
|
inline |
Definition at line 863 of file MCGIDI.hpp.
|
inline |
Definition at line 864 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE double MCGIDI::HeatedCrossSectionMultiGroup::gain | ( | std::size_t | a_hashIndex, |
| int | a_particleIndex ) const |
Returns the multi-group gain for particle with index a_particleIndex. If no particle is found, a Vector of all 0's is returned.
| a_particleIndex | [in] The index of the particle whose gain is to be returned. |
| a_hashIndex | [in] The multi-group index. |
Definition at line 1748 of file MCGIDI_heatedCrossSections.cc.
Referenced by gain(), and gainViaIntid().
| LUPI_HOST_DEVICE double MCGIDI::HeatedCrossSectionMultiGroup::gainViaIntid | ( | std::size_t | a_hashIndex, |
| int | a_particleIntid ) const |
Returns the multi-group gain for particle with intid a_particleIntid. If no particle is found, a Vector of all 0's is returned.
| a_particleIntid | [in] The intid of the particle whose gain is to be returned. |
| a_hashIndex | [in] The multi-group index. |
Definition at line 1766 of file MCGIDI_heatedCrossSections.cc.
Referenced by gainViaIntid().
|
inline |
Returns the number of reactions stored in this.
Definition at line 847 of file MCGIDI.hpp.
|
inline |
Returns the HeatedReactionCrossSectionMultiGroup for the reaction at index a_index *a_index.
Definition at line 845 of file MCGIDI.hpp.
|
inline |
Definition at line 865 of file MCGIDI.hpp.
|
inline |
Returns the reaction's cross section for the reaction at index a_reactionIndex and multi-group index a_hashIndex.
Definition at line 858 of file MCGIDI.hpp.
Referenced by MCGIDI::HeatedCrossSectionsMultiGroup::sampleReaction().
| LUPI_HOST_DEVICE void MCGIDI::HeatedCrossSectionMultiGroup::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 1807 of file MCGIDI_heatedCrossSections.cc.
Referenced by serialize().
| LUPI_HOST void MCGIDI::HeatedCrossSectionMultiGroup::setUserParticleIndex | ( | int | a_particleIndex, |
| int | a_userParticleIndex ) |
Updates the m_userParticleIndex to a_userParticleIndex for all particles with PoPs index a_particleIntid.
| a_particleIndex | [in] The index of the particle whose user index is to be set. |
| a_userParticleIndex | [in] The particle index specified by the user. |
Definition at line 1782 of file MCGIDI_heatedCrossSections.cc.
Referenced by setUserParticleIndex().
| LUPI_HOST void MCGIDI::HeatedCrossSectionMultiGroup::setUserParticleIndexViaIntid | ( | int | a_particleIntid, |
| int | a_userParticleIndex ) |
Updates the m_userParticleIndex to a_userParticleIndex for all particles with PoPs intid a_particleIntid.
| a_particleIntid | [in] The intid of the particle whose user index is to be set. |
| a_userParticleIndex | [in] The particle index specified by the user. |
Definition at line 1794 of file MCGIDI_heatedCrossSections.cc.
Referenced by setUserParticleIndexViaIntid().
|
inline |
Definition at line 852 of file MCGIDI.hpp.
Referenced by threshold().
|
inline |
Returns the offset for the cross section for the reaction with index a_index.
Definition at line 850 of file MCGIDI.hpp.
|
inline |
Returns a reference to member m_totalCrossSection.
Definition at line 854 of file MCGIDI.hpp.
| LUPI_HOST void MCGIDI::HeatedCrossSectionMultiGroup::write | ( | FILE * | a_file | ) | const |
This method writes the multi-group data.
| a_file | [in] The buffer to read or write data to depending on a_mode. |
Definition at line 1865 of file MCGIDI_heatedCrossSections.cc.
Referenced by write().