|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| Particle (std::string const &a_pid, MultiGroup const &a_multiGroup, Functions::Function3dForm const &a_fluxes, Transporting::Mode a_mode=Transporting::Mode::multiGroup) | |
| Particle (std::string const &a_pid, Transporting::Mode a_mode=Transporting::Mode::multiGroup) | |
| Particle (std::string const &a_pid, MultiGroup const &a_multiGroup, Transporting::Mode a_mode=Transporting::Mode::multiGroup) | |
| Particle (Particle const &a_particle) | |
| ~Particle () | |
| std::string const & | pid () const |
| Transporting::Mode | mode () const |
| Transporting::Conserve | conserve () const |
| int | multiGroupIndexFromEnergy (double a_e_in, bool a_encloseOutOfRange) const |
| std::size_t | numberOfGroups () const |
| MultiGroup | multiGroup () const |
| MultiGroup | fineMultiGroup () const |
| int | appendFlux (Flux const &a_flux) |
| ProcessedFlux const * | nearestProcessedFluxToTemperature (double a_temperature) const |
| std::vector< std::size_t > const & | collapseIndices () const |
| void | process (Transportable const &a_transportable, double a_epsilon=1e-6) |
| void | print (std::string const &a_indent) const |
Specifies particle information as mainly needed for multi-group transport. For example, the coarse and fine multi-group data.
| GIDI::Transporting::Particle::Particle | ( | std::string const & | a_pid, |
| MultiGroup const & | a_multiGroup, | ||
| Functions::Function3dForm const & | a_fluxes, | ||
| Transporting::Mode | a_mode = Transporting::Mode::multiGroup ) |
| a_pid | [in] Particle id for the particle. |
| a_multiGroup | [in] The multi-group boundaries. |
| a_fluxes | [in] The fluxes as f(T,E,mu). |
| a_mode | [in] Should probably be deprecated. |
Definition at line 174 of file GIDI_settings_particle.cc.
Referenced by Particle().
| GIDI::Transporting::Particle::Particle | ( | std::string const & | a_pid, |
| Transporting::Mode | a_mode = Transporting::Mode::multiGroup ) |
| a_pid | [in] Particle id for the particle. |
| a_mode | [in] Should probably be deprecated. |
Definition at line 191 of file GIDI_settings_particle.cc.
| GIDI::Transporting::Particle::Particle | ( | std::string const & | a_pid, |
| MultiGroup const & | a_group, | ||
| Transporting::Mode | a_mode = Transporting::Mode::multiGroup ) |
| a_pid | [in] Particle id for the particle. |
| a_group | [in] The multi-group boundaries. |
| a_mode | [in] Should probably be deprecated. |
Definition at line 204 of file GIDI_settings_particle.cc.
| GIDI::Transporting::Particle::Particle | ( | Particle const & | a_particle | ) |
| a_particle | [in] The Particle instance to copy. |
Definition at line 216 of file GIDI_settings_particle.cc.
| GIDI::Transporting::Particle::~Particle | ( | ) |
Definition at line 235 of file GIDI_settings_particle.cc.
| int GIDI::Transporting::Particle::appendFlux | ( | Flux const & | a_flux | ) |
Adds a flux at a specified temperature to the list of fluxes. Currently, the temperature of the flux must be greater than temperatures for the currently listed fluxes.
| a_flux | [in] The flux to add. |
Definition at line 247 of file GIDI_settings_particle.cc.
Referenced by Particle().
|
inline |
Returns the value of the m_collapseIndices member.
Definition at line 3672 of file GIDI.hpp.
Referenced by GIDI::collapse(), GIDI::collapse(), and Particle().
|
inline |
Returns the value of the m_conserve member.
Definition at line 3664 of file GIDI.hpp.
Referenced by Particle().
|
inline |
Returns the value of the m_fineMultiGroup member.
Definition at line 3669 of file GIDI.hpp.
Referenced by GIDI::Transporting::Settings::multiGroupZeroMatrix(), and GIDI::Transporting::Settings::multiGroupZeroVector().
|
inline |
Returns the value of the m_mode member.
Definition at line 3663 of file GIDI.hpp.
Referenced by Particle().
|
inline |
Returns the value of the m_multiGroup member.
Definition at line 3668 of file GIDI.hpp.
Referenced by MCGIDI::MultiGroupHash::MultiGroupHash(), and Particle().
|
inline |
Returns the coarse multi-group index corresponding to energy a_e_in. See MultiGroup::multiGroupIndexFromEnergy.
| ProcessedFlux const * GIDI::Transporting::Particle::nearestProcessedFluxToTemperature | ( | double | a_temperature | ) | const |
Returns the multi-group flux with its temperature closes to a_temperature.
| a_temperature | [in] The temperature of the desired flux. |
Definition at line 266 of file GIDI_settings_particle.cc.
Referenced by GIDI::collapse(), and GIDI::collapse().
|
inline |
Returns the number of coarse multi-group groups.
Definition at line 3667 of file GIDI.hpp.
Referenced by GIDI::Transporting::Settings::multiGroupZeroMatrix(), and GIDI::Transporting::Settings::multiGroupZeroVector().
|
inline |
Returns the value of the m_pid member.
Definition at line 3662 of file GIDI.hpp.
Referenced by GIDI::Transporting::Particles::add(), and Particle().
| void GIDI::Transporting::Particle::print | ( | std::string const & | a_indent | ) | const |
Print Particle data to std::cout. Mainly for debugging.
| a_indent | [in] The indent for each printed line. |
Definition at line 364 of file GIDI_settings_particle.cc.
| void GIDI::Transporting::Particle::process | ( | Transportable const & | a_transportable, |
| double | a_epsilon = 1e-6 ) |
For internal use only: should only be called from Particles::process. Determines the mapping of fine multi-group boundaries to coarse multi-group boundaries, and calculated multi-group fluxes from m_fluxes.
| a_transportable | [in] The Transportable instance that specified the coarse multi-group information for collapsing. |
| a_epsilon | [in] Specifies how close a coarse multi-group boundary must be to a fine multi-group boundary to be considered the same boundary. |
Definition at line 294 of file GIDI_settings_particle.cc.
Referenced by process().