|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| MultiGroup () | |
| MultiGroup (std::string const &a_label, int a_length, double const *a_values) | |
| MultiGroup (std::string const &a_label, std::vector< double > const &a_boundaries) | |
| MultiGroup (Group const &a_group) | |
| MultiGroup (MultiGroup const &a_multiGroup) | |
| ~MultiGroup () | |
| MultiGroup & | operator= (MultiGroup const &a_rhs) |
| double | operator[] (std::size_t const a_index) const |
| std::size_t | size () const |
| std::size_t | numberOfGroups () const |
| std::vector< double > const & | boundaries () const |
| double const * | pointer () const |
| void | set (std::string const &a_label, std::vector< double > const &a_boundaries) |
| std::string const & | label () const |
| int | multiGroupIndexFromEnergy (double a_energy, bool a_encloseOutOfRange) const |
| void | print (std::string const &a_indent, bool a_outline=false, unsigned int a_valuesPerLine=10) const |
Specifies the flux data for a specified Legendre order (see class Flux).
| GIDI::Transporting::MultiGroup::MultiGroup | ( | ) |
Definition at line 27 of file GIDI_settings_group.cc.
Referenced by MultiGroup(), and operator=().
| GIDI::Transporting::MultiGroup::MultiGroup | ( | std::string const & | a_label, |
| int | a_length, | ||
| double const * | a_boundaries ) |
| a_label | [in] The label for the MultiGroup. |
| a_length | [in] The number of boundaries values. |
| a_boundaries | [in] The list of boundaries. |
Definition at line 37 of file GIDI_settings_group.cc.
| GIDI::Transporting::MultiGroup::MultiGroup | ( | std::string const & | a_label, |
| std::vector< double > const & | a_boundaries ) |
| a_label | [in] The label for the MultiGroup. |
| a_boundaries | [in] The list of boundaries. |
Definition at line 48 of file GIDI_settings_group.cc.
| GIDI::Transporting::MultiGroup::MultiGroup | ( | Group const & | a_group | ) |
| a_group | [in] The Group used to set this. |
Definition at line 58 of file GIDI_settings_group.cc.
| GIDI::Transporting::MultiGroup::MultiGroup | ( | MultiGroup const & | a_multiGroup | ) |
| a_multiGroup | [in] The MultiGroup instance to copy. |
Definition at line 68 of file GIDI_settings_group.cc.
| GIDI::Transporting::MultiGroup::~MultiGroup | ( | ) |
Definition at line 77 of file GIDI_settings_group.cc.
|
inline |
Returns the value of the m_boundaries member.
Definition at line 3501 of file GIDI.hpp.
Referenced by MultiGroup(), MCGIDI::MultiGroupHash::MultiGroupHash(), GIDI::multiGroupXYs1d(), and operator=().
|
inline |
Returns the value of the m_label member.
Definition at line 3505 of file GIDI.hpp.
Referenced by MultiGroup(), MultiGroup(), and operator=().
| int GIDI::Transporting::MultiGroup::multiGroupIndexFromEnergy | ( | double | a_energy, |
| bool | a_encloseOutOfRange ) const |
Returns the multi-group index whose boundaries enclose a_energy. If a_encloseOutOfRange is true and a_energy is below the lowest boundary, 0 is returned, otherwise -2 is returned. If a_encloseOutOfRange is true and a_energy is above the highest boundary, the last multi-group index is returned, otherwise -1 is returned.
| a_energy | [in] The energy of the whose index is to be returned. |
| a_encloseOutOfRange | Determines the action if energy is below or above the domain of the boundaries. |
Definition at line 109 of file GIDI_settings_group.cc.
|
inline |
Returns the number of multi-group groups.
Definition at line 3500 of file GIDI.hpp.
Referenced by GIDI::Transporting::Settings::multiGroupZeroMatrix(), and GIDI::Transporting::Settings::multiGroupZeroVector().
| MultiGroup & GIDI::Transporting::MultiGroup::operator= | ( | MultiGroup const & | a_rhs | ) |
The assignment operator. This method sets the members of this to those of a_rhs.
| a_rhs | [in] Instance whose member are used to set the members of this. |
Definition at line 89 of file GIDI_settings_group.cc.
|
inline |
|
inline |
| void GIDI::Transporting::MultiGroup::print | ( | std::string const & | a_indent, |
| bool | a_outline = false, | ||
| unsigned int | a_valuesPerLine = 10 ) const |
Print the MultiGroup to std::cout. Mainly for debugging.
| a_indent | [in] The std::string to print at the beginning. |
| a_outline | [in] If true, does not print the flux values. |
| a_valuesPerLine | [in] The number of points (i.e., energy, flux pairs) to print per line. |
Definition at line 154 of file GIDI_settings_group.cc.
| void GIDI::Transporting::MultiGroup::set | ( | std::string const & | a_label, |
| std::vector< double > const & | a_boundaries ) |
| a_label | [in] The label for this. |
| a_boundaries | [in] The boundaries to set this to. |
Definition at line 140 of file GIDI_settings_group.cc.
|
inline |
Returns the number of multi-group boundaries.
Definition at line 3499 of file GIDI.hpp.
Referenced by multiGroupIndexFromEnergy(), and print().