|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | MultiGroupHash () |
| LUPI_HOST | MultiGroupHash (std::vector< double > a_boundaries) |
| LUPI_HOST_DEVICE | MultiGroupHash (Vector< double > a_boundaries) |
| LUPI_HOST | MultiGroupHash (GIDI::Protare const &a_protare, GIDI::Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_particleID="") |
| LUPI_HOST | MultiGroupHash (GIDI::Protare const &a_protare, GIDI::Transporting::Particles const &a_particles) |
| LUPI_HOST | MultiGroupHash (MultiGroupHash const &a_multiGroupHash) |
| LUPI_HOST MultiGroupHash & | operator= (MultiGroupHash const &a_rhs)=default |
| LUPI_HOST_DEVICE Vector< double > const & | boundaries () const |
| LUPI_HOST_DEVICE std::size_t | index (double a_domain) const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
This class stores a multi-group boundaries and has a method index that returns an index of the group for the requested domain value.
Definition at line 388 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::MultiGroupHash::MultiGroupHash | ( | ) |
Definition at line 155 of file MCGIDI_domainHash.cc.
Referenced by MultiGroupHash(), and operator=().
| LUPI_HOST MCGIDI::MultiGroupHash::MultiGroupHash | ( | std::vector< double > | a_boundaries | ) |
| a_boundaries | [in] The list of multi-group boundaries. |
Definition at line 163 of file MCGIDI_domainHash.cc.
| LUPI_HOST_DEVICE MCGIDI::MultiGroupHash::MultiGroupHash | ( | Vector< double > | a_boundaries | ) |
| a_boundaries | [in] The list of multi-group boundaries. |
Definition at line 172 of file MCGIDI_domainHash.cc.
| LUPI_HOST MCGIDI::MultiGroupHash::MultiGroupHash | ( | GIDI::Protare const & | a_protare, |
| GIDI::Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_particleID = "" ) |
This constructor gets the list of multi-group boundaries from the first GIDI::Styles::MultiGroup of a_protare. It calls MultiGroupHash::initialize to set up this.
| a_protare | [in] The GIDI::Protare containing the GIDI::Styles::MultiGroup style. |
| a_temperatureInfo | [in] This is used to determine the multi-group boundaries. |
| a_particleID | [in] The PoPs' id of the particle whose multi-group boundaries are desired. |
Definition at line 186 of file MCGIDI_domainHash.cc.
| LUPI_HOST MCGIDI::MultiGroupHash::MultiGroupHash | ( | GIDI::Protare const & | a_protare, |
| GIDI::Transporting::Particles const & | a_particles ) |
This constructor gets the list of multi-group boundaries from the GIDI::Particle of a_particles that is the projectile.
| a_protare | [in] The GIDI::Protare containing the GIDI::Styles::MultiGroup style. |
| a_particles | [in] The list of transportable particles. |
Definition at line 198 of file MCGIDI_domainHash.cc.
| LUPI_HOST MCGIDI::MultiGroupHash::MultiGroupHash | ( | MultiGroupHash const & | a_multiGroupHash | ) |
This constructor gets the list of multi-group boundaries from the GIDI::Particle of a_particles that is the projectile.
| a_protare | [in] The GIDI::Protare containing the GIDI::Styles::MultiGroup style. |
| a_particles | [in] The list of transportable particles. |
Definition at line 212 of file MCGIDI_domainHash.cc.
|
inline |
Returns a reference to m_styles.
Definition at line 404 of file MCGIDI.hpp.
Referenced by MultiGroupHash().
|
inline |
Definition at line 405 of file MCGIDI.hpp.
|
default |
| LUPI_HOST_DEVICE void MCGIDI::MultiGroupHash::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 243 of file MCGIDI_domainHash.cc.