Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI::Styles::TemperatureInfo Class Reference

#include <GIDI.hpp>

Public Member Functions

 TemperatureInfo ()
 TemperatureInfo (PhysicalQuantity const &a_temperature, std::string const &a_heatedCrossSection, std::string const &a_griddedCrossSection, std::string const &a_URR_probabilityTables, std::string const &a_heatedMultiGroup, std::string const &a_SnElasticUpScatter)
PhysicalQuantity const & temperature () const
std::string const & heatedCrossSection () const
std::string const & griddedCrossSection () const
std::string const & URR_probabilityTables () const
std::string const & heatedMultiGroup () const
std::string const & SnElasticUpScatter () const
void print () const

Detailed Description

This class stores the labels for a given temperature for the heatedCrossSection, griddedCrossSection, heatedMultiGroup and SnElasticUpScatter styles. If no style of a given process (e.g., heatedCrossSection) type exists, its label is an empty string.

Definition at line 3415 of file GIDI.hpp.

Constructor & Destructor Documentation

◆ TemperatureInfo() [1/2]

GIDI::Styles::TemperatureInfo::TemperatureInfo ( )

Definition at line 1013 of file GIDI_styles.cc.

1013 :
1014 m_temperature( -1.0, "K" ),
1015 m_heatedCrossSection( "" ),
1016 m_griddedCrossSection( "" ),
1017 m_URR_probabilityTables( "" ),
1018 m_heatedMultiGroup( "" ),
1019 m_SnElasticUpScatter( "" ) {
1020
1021}

◆ TemperatureInfo() [2/2]

GIDI::Styles::TemperatureInfo::TemperatureInfo ( PhysicalQuantity const & a_temperature,
std::string const & a_heatedCrossSection,
std::string const & a_griddedCrossSection,
std::string const & a_URR_probabilityTables,
std::string const & a_heatedMultiGroup,
std::string const & a_SnElasticUpScatter )
Parameters
a_temperature[in] The temperature.
a_heatedCrossSection[in] The label for the heatedCrossSection style.
a_griddedCrossSection[in] The label for the griddedCrossSection style.
a_heatedMultiGroup[in] The label for the heatedMultiGroup style.
a_URR_probabilityTables[in] The label for the URR_probabilityTables style.
a_SnElasticUpScatter[in] The label for the SnElasticUpScatter style.

Definition at line 1033 of file GIDI_styles.cc.

1034 :
1035 m_temperature( a_temperature ),
1036 m_heatedCrossSection( a_heatedCrossSection ),
1037 m_griddedCrossSection( a_griddedCrossSection ),
1038 m_URR_probabilityTables( a_URR_probabilityTables ),
1039 m_heatedMultiGroup( a_heatedMultiGroup ),
1040 m_SnElasticUpScatter( a_SnElasticUpScatter ) {
1041
1042}

Member Function Documentation

◆ griddedCrossSection()

std::string const & GIDI::Styles::TemperatureInfo::griddedCrossSection ( ) const
inline

Returns the value of the m_griddedCrossSection.

Definition at line 3432 of file GIDI.hpp.

Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().

◆ heatedCrossSection()

std::string const & GIDI::Styles::TemperatureInfo::heatedCrossSection ( ) const
inline

Returns the value of the m_heatedCrossSection.

Definition at line 3431 of file GIDI.hpp.

Referenced by GIDI::Reaction::calculateMultiGroupData().

◆ heatedMultiGroup()

std::string const & GIDI::Styles::TemperatureInfo::heatedMultiGroup ( ) const
inline

◆ print()

void GIDI::Styles::TemperatureInfo::print ( ) const

Prints information about this to std::cout.

Definition at line 1048 of file GIDI_styles.cc.

1048 {
1049
1050 std::cout << "temperature = " << m_temperature.value( ) << " " << m_temperature.unit( ) << " heatedCrossSection = '" << m_heatedCrossSection
1051 << "' griddedCrossSection = '" << m_griddedCrossSection << "' URR_probabilityTables = '" << m_URR_probabilityTables
1052 << "' heatedMultiGroup = '" << m_heatedMultiGroup << "' SnElasticUpScatter = '" << m_SnElasticUpScatter << std::endl;
1053}

◆ SnElasticUpScatter()

std::string const & GIDI::Styles::TemperatureInfo::SnElasticUpScatter ( ) const
inline

Returns the value of the m_SnElasticUpScatter.

Definition at line 3435 of file GIDI.hpp.

Referenced by GIDI::Transporting::MG::form().

◆ temperature()

PhysicalQuantity const & GIDI::Styles::TemperatureInfo::temperature ( ) const
inline

Returns the value of the m_temperature.

Definition at line 3430 of file GIDI.hpp.

Referenced by GIDI::Reaction::recalculateMultiGroupData().

◆ URR_probabilityTables()

std::string const & GIDI::Styles::TemperatureInfo::URR_probabilityTables ( ) const
inline

Returns the value of the m_URR_probabilityTables.

Definition at line 3433 of file GIDI.hpp.

Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().


The documentation for this class was generated from the following files: