|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| Reaction (int a_ENDF_MT, std::string const &a_fissionGenre) | |
| Reaction (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, PoPI::Database const &a_pops, PoPI::Database const &a_internalPoPs, Protare const &a_protare, Styles::Suite const *a_styles) | |
| ~Reaction () | |
| bool | active () const |
| void | setActive (bool a_active) |
| std::size_t | reactionIndex () const |
| int | depth () const |
| int | ENDF_MT () const |
| int | ENDL_C () const |
| int | ENDL_S () const |
| std::string const & | fissionGenre () const |
| bool | isPairProduction () const |
| bool | isPhotoAtomicIncoherentScattering () const |
| bool | RutherfordScatteringPresent () const |
| bool | onlyRutherfordScatteringPresent () const |
| bool | nuclearPlusInterferencePresent () const |
| Component & | doubleDifferentialCrossSection () |
| Component const & | doubleDifferentialCrossSection () const |
| Component & | crossSection () |
| Component const & | crossSection () const |
| Component & | availableEnergy () |
| Component const & | availableEnergy () const |
| Component & | availableMomentum () |
| Component const & | availableMomentum () const |
| OutputChannel * | outputChannel () const |
| void | setOutputChannel (OutputChannel *a_outputChannel) |
| void | modifiedMultiGroupElasticForTNSL (std::map< std::string, std::size_t > const &a_maximumTNSL_MultiGroupIndex) |
| GUPI::Ancestry * | findInAncestry3 (std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (std::string const &a_item) const |
| std::string | xlinkItemKey () const |
| bool | hasFission () const |
| void | productIDs (std::set< std::string > &a_ids, Transporting::Particles const &a_particles, bool a_transportablesOnly) const |
| int | productMultiplicity (std::string const &a_productID) const |
| int | maximumLegendreOrder (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_productID) const |
| double | threshold () const |
| double | crossSectionThreshold () const |
| double | twoBodyThreshold () const |
| bool | areAllProductsTracked (Transporting::Particles const &a_particles) const |
| Vector | multiGroupCrossSection (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_label="") const |
| Vector | multiGroupQ (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, bool a_final) const |
| Vector | multiGroupMultiplicity (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_productID) const |
| Matrix | multiGroupProductMatrix (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, Transporting::Particles const &a_particles, std::string const &a_productID, std::size_t a_order) const |
| Matrix | multiGroupFissionMatrix (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, Transporting::Particles const &a_particles, std::size_t a_order) const |
| Vector | multiGroupAvailableEnergy (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo) const |
| Vector | multiGroupAverageEnergy (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_productID) const |
| Vector | multiGroupDepositionEnergy (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, Transporting::Particles const &a_particles) const |
| Vector | multiGroupAvailableMomentum (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo) const |
| Vector | multiGroupAverageMomentum (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_productID) const |
| Vector | multiGroupDepositionMomentum (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, Transporting::Particles const &a_particles) const |
| Vector | multiGroupGain (LUPI::StatusMessageReporting &a_smr, Transporting::MG const &a_settings, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_productID, std::string const &a_projectileID) const |
| void | delayedNeutronProducts (DelayedNeutronProducts &a_delayedNeutronProducts) const |
| void | incompleteParticles (Transporting::Settings const &a_settings, std::set< std::string > &a_incompleteParticles) const |
| void | continuousEnergyProductData (Transporting::Settings const &a_settings, std::string const &a_particleID, double a_energy, double &a_productEnergy, double &a_productMomentum, double &a_productGain, bool a_ignoreIncompleteParticles) const |
| void | mapContinuousEnergyProductData (Transporting::Settings const &a_settings, std::string const &a_particleID, std::vector< double > const &a_energies, std::size_t a_offset, std::vector< double > &a_productEnergies, std::vector< double > &a_productMomenta, std::vector< double > &a_productGains, bool a_ignoreIncompleteParticles) const |
| bool | modifyCrossSection (Functions::XYs1d const *a_offset, Functions::XYs1d const *a_slope, bool a_updateMultiGroup=false) |
| bool | modifiedCrossSection (Functions::XYs1d const *a_offset, Functions::XYs1d const *a_slope) |
| void | recalculateMultiGroupData (ProtareSingle const *a_protare, Styles::TemperatureInfo const &a_temperatureInfo) |
| void | calculateMultiGroupData (ProtareSingle const *a_protare, Styles::TemperatureInfo const &a_temperatureInfo, std::string const &a_heatedMultiGroupLabel, MultiGroupCalulationInformation const &a_multiGroupCalulationInformation) |
| void | toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const |
| Public Member Functions inherited from GIDI::Form | |
| Form (FormType a_type) | |
| Form (std::string const &a_moniker, FormType a_type, std::string const &a_label) | |
| Form (HAPI::Node const &a_node, SetupInfo &a_setupInfo, FormType a_type, Suite *a_suite=nullptr) | |
| Form (Form const &a_form) | |
| virtual | ~Form () |
| Form & | operator= (Form const &a_rhs) |
| Suite * | parent () const |
| std::string const & | label () const |
| void | setLabel (std::string const &a_label) |
| virtual std::string | actualMoniker () const |
| std::string const & | keyName () const |
| void | setKeyName (std::string const &a_keyName) |
| std::string const & | keyValue () const |
| virtual void | setKeyValue (std::string const &a_keyName) const |
| FormType | type () const |
| Form const * | sibling (std::string a_label) const |
| GUPI::Ancestry * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) const |
| Public Member Functions inherited from GUPI::Ancestry | |
| Ancestry (std::string const &a_moniker, std::string const &a_attribute="") | |
| virtual | ~Ancestry () |
| Ancestry & | operator= (Ancestry const &a_ancestry) |
| std::string const & | moniker () const |
| void | setMoniker (std::string const &a_moniker) |
| Ancestry * | ancestor () |
| Ancestry const * | ancestor () const |
| void | setAncestor (Ancestry *a_ancestor) |
| std::string | attribute () const |
| Ancestry * | root () |
| Ancestry const * | root () const |
| bool | isChild (Ancestry *a_instance) |
| bool | isParent (Ancestry *a_parent) |
| bool | isRoot () const |
| Ancestry * | findInAncestry (std::string const &a_href) |
| Ancestry const * | findInAncestry (std::string const &a_href) const |
| virtual LUPI_HOST void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| std::string | toXLink () const |
| void | printXML () const |
Friends | |
| class | ProtareSingle |
Additional Inherited Members | |
| Static Public Member Functions inherited from GUPI::Ancestry | |
| static std::string | buildXLinkItemKey (std::string const &a_name, std::string const &a_key) |
| GIDI::Reaction::Reaction | ( | int | a_ENDF_MT, |
| std::string const & | a_fissionGenre ) |
Parses a <reaction> node.
Definition at line 21 of file GIDI_reaction.cc.
| GIDI::Reaction::Reaction | ( | Construction::Settings const & | a_construction, |
| HAPI::Node const & | a_node, | ||
| SetupInfo & | a_setupInfo, | ||
| PoPI::Database const & | a_pops, | ||
| PoPI::Database const & | a_internalPoPs, | ||
| Protare const & | a_protare, | ||
| Styles::Suite const * | a_styles ) |
Parses a <reaction> node.
| a_construction | [in] Used to pass user options to the constructor. |
| a_node | [in] The reaction HAPI::Node to be parsed and used to construct the reaction. |
| a_setupInfo | [in] Information create my the Protare constructor to help in parsing. |
| a_pops | [in] The external PoPI::Database instance used to get particle indices and possibly other particle information. |
| a_internalPoPs | [in] The internal PoPI::Database instance used to get particle indices and possibly other particle information. This is the <PoPs> node under the <reactionSuite> node. |
| a_protare | [in] The GIDI::Protare this reaction belongs to. |
| a_styles | [in] The <styles> node under the <reactionSuite> node. |
Definition at line 60 of file GIDI_reaction.cc.
| GIDI::Reaction::~Reaction | ( | ) |
Definition at line 166 of file GIDI_reaction.cc.
|
inline |
Returns the value of the m_active member.
Definition at line 4280 of file GIDI.hpp.
Referenced by GIDI::ProtareSingle::delayedNeutronProducts(), GIDI::ProtareSingle::hasFission(), GIDI::ProtareSingle::incompleteParticles(), GIDI::ProtareSingle::isDelayedFissionNeutronComplete(), GIDI::ProtareSingle::maximumLegendreOrder(), GIDI::ProtareSingle::multiGroupAverageEnergy(), GIDI::ProtareSingle::multiGroupAverageMomentum(), GIDI::ProtareSingle::multiGroupDepositionEnergy(), GIDI::ProtareSingle::multiGroupFissionGammaMultiplicity(), GIDI::ProtareSingle::multiGroupFissionMatrix(), GIDI::ProtareSingle::multiGroupFissionNeutronMultiplicity(), GIDI::ProtareSingle::multiGroupMultiplicity(), GIDI::ProtareSingle::multiGroupProductMatrix(), GIDI::ProtareSingle::numberOfInactiveReactions(), GIDI::ProtareSingle::productIDs(), GIDI::Protare::reactionIndicesMatchingENDLCValues(), and GIDI::ProtareSingle::reactionToMultiGroup().
| bool GIDI::Reaction::areAllProductsTracked | ( | Transporting::Particles const & | a_particles | ) | const |
Returns true if all outgoing particles (i.e., products) are specifed in a_particles. That is, the user will be tracking all products of this reaction.
| a_particles | [in] The list of particles to be transported. |
Definition at line 331 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupDepositionEnergy(), and multiGroupDepositionEnergy().
|
inline |
Returns a reference to the m_availableEnergy member.
Definition at line 4302 of file GIDI.hpp.
Referenced by multiGroupDepositionEnergy().
|
inline |
|
inline |
|
inline |
| void GIDI::Reaction::calculateMultiGroupData | ( | ProtareSingle const * | a_protare, |
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_heatedMultiGroupLabel, | ||
| MultiGroupCalulationInformation const & | a_multiGroupCalulationInformation ) |
This methods calculates multi-group data for all needed components and adds each component's multi-group with label a_heatedMultiGroupLabel.
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_heatedMultiGroupLabel | [in] The label of the style for the multi-group data being added. |
| a_multiGroupCalulationInformation | [in] Store multi-group boundary and flux data used for multi-grouping. |
| a_crossSectionXYs1d | [in[ The cross section weight. |
Definition at line 867 of file GIDI_reaction.cc.
Referenced by recalculateMultiGroupData().
| void GIDI::Reaction::continuousEnergyProductData | ( | Transporting::Settings const & | a_settings, |
| std::string const & | a_particleID, | ||
| double | a_energy, | ||
| double & | a_productEnergy, | ||
| double & | a_productMomentum, | ||
| double & | a_productGain, | ||
| bool | a_ignoreIncompleteParticles ) const |
Returns, via arguments, the average energy and momentum, and gain for product with particle id a_particleID.
| a_settings | [in] Specifies the requested label. |
| a_particleID | [in] The particle id of the product. |
| a_energy | [in] The energy of the projectile. |
| a_productEnergy | [in] The average energy of the product. |
| a_productMomentum | [in] The average momentum of the product. |
| a_productGain | [in] The gain of the product. |
| a_ignoreIncompleteParticles | [in] If true, incomplete particles are ignore, otherwise a throw is executed. |
Definition at line 666 of file GIDI_reaction.cc.
|
inline |
|
inline |
|
inline |
| void GIDI::Reaction::delayedNeutronProducts | ( | DelayedNeutronProducts & | a_delayedNeutronProducts | ) | const |
Appends a DelayedNeutronProduct instance for each delayed neutron in m_delayedNeutrons.
| a_delayedNeutronProducts | [in/out] The list to append the delayed neutrons to. |
Definition at line 636 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::delayedNeutronProducts().
|
inline |
|
inline |
Returns a reference to the m_doubleDifferentialCrossSection member.
Definition at line 4297 of file GIDI.hpp.
Referenced by MCGIDI::Distributions::parseGIDI().
|
inline |
|
inline |
Returns the value of the m_ENDF_MT member.
Definition at line 4284 of file GIDI.hpp.
Referenced by toXMLList().
|
inline |
Returns the value of the m_ENDL_C member.
Definition at line 4285 of file GIDI.hpp.
Referenced by GIDI::Protare::reactionIndicesMatchingENDLCValues().
|
inline |
|
virtual |
Used by GUPI::Ancestry to tranverse GNDS nodes. This method returns a pointer to a derived class' a_item member or nullptr if none exists.
| a_item | [in] The name of the class member whose pointer is to be return. |
Implements GUPI::Ancestry.
Definition at line 292 of file GIDI_reaction.cc.
|
virtual |
Used by GUPI::Ancestry to tranverse GNDS nodes. This method returns a pointer to a derived class' a_item member or nullptr if none exists.
| a_item | [in] The name of the class member whose pointer is to be return. |
Implements GUPI::Ancestry.
Definition at line 311 of file GIDI_reaction.cc.
|
inline |
| bool GIDI::Reaction::hasFission | ( | ) | const |
Returns true if at least one output channel contains a fission channel.
Definition at line 246 of file GIDI_reaction.cc.
Referenced by areAllProductsTracked(), GIDI::ProtareSingle::delayedNeutronProducts(), GIDI::ProtareSingle::hasFission(), GIDI::ProtareSingle::isDelayedFissionNeutronComplete(), GIDI::ProtareSingle::multiGroupFissionGammaMultiplicity(), GIDI::ProtareSingle::multiGroupFissionMatrix(), multiGroupFissionMatrix(), GIDI::ProtareSingle::multiGroupFissionNeutronMultiplicity(), and Reaction().
| void GIDI::Reaction::incompleteParticles | ( | Transporting::Settings const & | a_settings, |
| std::set< std::string > & | a_incompleteParticles ) const |
If this has an output channel, this output channel's **incompleteParticles* is called.
| a_settings | [in] Specifies the requested label. |
| a_incompleteParticles | [out] The list of particles whose completeParticle method returns false. |
Definition at line 648 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::incompleteParticles().
|
inline |
|
inline |
| void GIDI::Reaction::mapContinuousEnergyProductData | ( | Transporting::Settings const & | a_settings, |
| std::string const & | a_particleID, | ||
| std::vector< double > const & | a_energies, | ||
| std::size_t | a_offset, | ||
| std::vector< double > & | a_productEnergies, | ||
| std::vector< double > & | a_productMomenta, | ||
| std::vector< double > & | a_productGains, | ||
| bool | a_ignoreIncompleteParticles ) const |
Modifies the average product energies, momenta and gains for product with particle id a_particleID.
| a_settings | [in] Specifies user options. |
| a_particleID | [in] The particle id of the product. |
| a_energies | [in] The vector of energies to map the data to. |
| a_offset | [in] The index of the first energy whose data are to be added to the vectors. |
| a_productEnergies | [out] The vector of average energies of the product. |
| a_productMomenta | [out] The vector of average momenta of the product. |
| a_productGains | [out] The vector of gain of the product. |
| a_ignoreIncompleteParticles | [in] If true, incomplete particles are ignore, otherwise a throw is executed. |
Definition at line 693 of file GIDI_reaction.cc.
| int GIDI::Reaction::maximumLegendreOrder | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_productID ) const |
Determines the maximum Legredre order present in the multi-group transfer matrix for a give product for a give label. Inspects all products produced by this reaction.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_productID | [in] Particle id of the requested product. |
Definition at line 208 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::maximumLegendreOrder().
| bool GIDI::Reaction::modifiedCrossSection | ( | Functions::XYs1d const * | a_offset, |
| Functions::XYs1d const * | a_slope ) |
Thid methid is deprecated, use modifyCrossSection instead. See modifyCrossSection for useage.
Definition at line 820 of file GIDI_reaction.cc.
| void GIDI::Reaction::modifiedMultiGroupElasticForTNSL | ( | std::map< std::string, std::size_t > const & | a_maximumTNSL_MultiGroupIndex | ) |
Only for internal use. Called by ProtareTNSL instance to zero the lower energy multi-group data covered by the TNSL ProtareSingle.
| a_maximumTNSL_MultiGroupIndex | [in] A map that contains labels for heated multi-group data and the last valid group boundary for the TNSL data for that boundary. |
Definition at line 276 of file GIDI_reaction.cc.
| bool GIDI::Reaction::modifyCrossSection | ( | Functions::XYs1d const * | a_offset, |
| Functions::XYs1d const * | a_slope, | ||
| bool | a_updateMultiGroup = false ) |
This method modifies the cross section for this reaction as
crossSection = a_offset + a_slope * crossSection
Either or both of a_offset and a_slope can be an empty Functions::XYs1d instance or a nullptr. If both a_offset and a_slope are non-empty Functions::XYs1d instances, the domains of both must be the same. If the returned value is false, no data are changed.
| a_offset | [in] A pointer to a XYs1d function for the offset. |
| a_slope | [in] A pointer to a XYs1d function for the slope. |
| a_updateMultiGroup | [in] If true, the multi-group data are also modified. |
Definition at line 720 of file GIDI_reaction.cc.
Referenced by modifiedCrossSection().
| Vector GIDI::Reaction::multiGroupAvailableEnergy | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo ) const |
Returns the multi-group, total available energy for the requested label. This is a cross section weighted available energy.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
Definition at line 455 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupAvailableEnergy(), and multiGroupDepositionEnergy().
| Vector GIDI::Reaction::multiGroupAvailableMomentum | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo ) const |
Returns the multi-group, total available momentum for the requested label. This is a cross section weighted available momentum.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
Definition at line 544 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupAvailableMomentum(), and multiGroupDepositionMomentum().
| Vector GIDI::Reaction::multiGroupAverageEnergy | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_productID ) const |
Returns the multi-group, total average energy for the requested label for the requested product. This is a cross section weighted average energy summed over all products for this reaction.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_productID | [in] Particle id for the requested product. |
Definition at line 481 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupAverageEnergy(), and multiGroupDepositionEnergy().
| Vector GIDI::Reaction::multiGroupAverageMomentum | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_productID ) const |
Returns the multi-group, total average momentum for the requested label for the requested product. This is a cross section weighted average momentum.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_productID | [in] Particle id for the requested product. |
Definition at line 565 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupAverageMomentum(), and multiGroupDepositionMomentum().
| Vector GIDI::Reaction::multiGroupCrossSection | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_label = "" ) const |
Returns the multi-group, cross section for the requested label the reaction.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_label | [in] If not an empty string, this is used as the label for the form to return and the a_temperatureInfo labels are ignored. |
Definition at line 349 of file GIDI_reaction.cc.
Referenced by multiGroupAverageEnergy(), GIDI::ProtareSingle::multiGroupCrossSection(), multiGroupGain(), multiGroupMultiplicity(), and multiGroupProductMatrix().
| Vector GIDI::Reaction::multiGroupDepositionEnergy | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| Transporting::Particles const & | a_particles ) const |
Returns the multi-group, total deposition energy for the requested label for this reaction. This is a cross section weighted deposition energy. The deposition energy is calculated by subtracting the average energy from each transportable particle from the available energy. The list of transportable particles is specified via the list of particle specified in the a_settings argument. This method does not include any photon deposition energy for this reaction that is in the GNDS orphanProducts node.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label and the products that are transported. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_particles | [in] The list of particles to be transported. |
Definition at line 509 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupDepositionEnergy().
| Vector GIDI::Reaction::multiGroupDepositionMomentum | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| Transporting::Particles const & | a_particles ) const |
Returns the multi-group, total deposition momentum for the requested label for this reaction. This is a cross section weighted deposition momentum. The deposition momentum is calculated by subtracting the average momentum from each transportable particle from the available momentum. The list of transportable particles is specified via the list of particle specified in the a_settings argument. This method does not include any photon deposition momentum for this reaction that is in the GNDS orphanProducts node.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_particles | [in] The list of particles to be transported. |
Definition at line 589 of file GIDI_reaction.cc.
| Matrix GIDI::Reaction::multiGroupFissionMatrix | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| Transporting::Particles const & | a_particles, | ||
| std::size_t | a_order ) const |
Like Reaction::multiGroupProductMatrix, but only returns the fission neutron, transfer matrix.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label and if delayed neutrons should be included. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_particles | [in] The list of particles to be transported. |
| a_order | [in] Requested product matrix, Legendre order. |
Definition at line 436 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupFissionMatrix().
| Vector GIDI::Reaction::multiGroupGain | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_productID, | ||
| std::string const & | a_projectileID ) const |
Returns the multi-group, gain for the requested particle and label. This is a cross section weighted gain summed over all reactions. If a_productID and a_projectileID are the same, then the multi-group cross section is subtracted for the returned value to indicate that the a_projectileID as been absorted.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_productID | [in] The particle PoPs' id for the whose gain is to be calculated. |
| a_projectileID | [in] The particle PoPs' id for the projectile. |
Definition at line 620 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupGain().
| Vector GIDI::Reaction::multiGroupMultiplicity | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| std::string const & | a_productID ) const |
Returns the multi-group, total multiplicity for the requested label for the requested product. This is a cross section weighted multiplicity.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_productID | [in] Particle id for the requested product. |
Definition at line 226 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupFissionGammaMultiplicity(), GIDI::ProtareSingle::multiGroupFissionNeutronMultiplicity(), multiGroupGain(), and GIDI::ProtareSingle::multiGroupMultiplicity().
| Matrix GIDI::Reaction::multiGroupProductMatrix | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| Transporting::Particles const & | a_particles, | ||
| std::string const & | a_productID, | ||
| std::size_t | a_order ) const |
Returns the multi-group, product matrix for the requested label for the requested product index for the requested Legendre order. If no data are found, an empty GIDI::Matrix is returned.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label and if delayed neutrons should be included. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_particles | [in] The list of particles to be transported. |
| a_productID | [in] Particle id for the requested product. |
| a_order | [in] Requested product matrix, Legendre order. |
Definition at line 395 of file GIDI_reaction.cc.
Referenced by multiGroupFissionMatrix(), and GIDI::ProtareSingle::multiGroupProductMatrix().
| Vector GIDI::Reaction::multiGroupQ | ( | LUPI::StatusMessageReporting & | a_smr, |
| Transporting::MG const & | a_settings, | ||
| Styles::TemperatureInfo const & | a_temperatureInfo, | ||
| bool | a_final ) const |
Returns the multi-group, total Q for the requested label. This is a cross section weighted Q.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_settings | [in] Specifies the requested label. |
| a_temperatureInfo | [in] Specifies the temperature and labels use to lookup the requested data. |
| a_final | [in] If false, only the Q for the primary reactions are return, otherwise, the Q for the final reactions. |
| a_reactionsToExclude | [in] A list of reaction indices that are to be ignored when calculating the Q. |
Definition at line 373 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::multiGroupQ().
|
inline |
|
inline |
|
inline |
Returns a reference to the m_outputChannel member.
Definition at line 4307 of file GIDI.hpp.
Referenced by GIDI::ProtareSingle::isDelayedFissionNeutronComplete().
| void GIDI::Reaction::productIDs | ( | std::set< std::string > & | a_ids, |
| Transporting::Particles const & | a_particles, | ||
| bool | a_transportablesOnly ) const |
Fills in a std::set with a unique list of all product indices produced by this reaction. If a_transportablesOnly is true, only transportable product indices are return.
| a_ids | [out] The unique list of product indices. |
| a_particles | [in] The list of particles to be transported. |
| a_transportablesOnly | [in] If true, only transportable product indices are added in the list. |
Definition at line 180 of file GIDI_reaction.cc.
Referenced by GIDI::ProtareSingle::productIDs().
|
inline |
|
inline |
| void GIDI::Reaction::recalculateMultiGroupData | ( | ProtareSingle const * | a_protare, |
| Styles::TemperatureInfo const & | a_temperatureInfo ) |
This function recalculates the multi-group data for data labelled with a_temperatureInfo.heatedMultiGroup().
| a_temperatureInfo | [in] The temperature for which multi-group data are to be recalculated. |
Definition at line 831 of file GIDI_reaction.cc.
Referenced by modifyCrossSection().
|
inline |
Returns the value of m_RutherfordScatteringPresent member.
Definition at line 4290 of file GIDI.hpp.
Referenced by GIDI::ProtareSingle::checkIf_nuclearPlusCoulombInterferenceWanted().
|
inline |
| void GIDI::Reaction::setOutputChannel | ( | OutputChannel * | a_outputChannel | ) |
Sets this reaction's output channel to a_outputChannel.
| a_outputChannel | [in] The output channel to make this reaction output channel. |
Definition at line 263 of file GIDI_reaction.cc.
|
inline |
|
virtual |
Fills the argument a_writeInfo with the XML lines that represent this. Recursively enters each sub-node.
| a_writeInfo | [in/out] Instance containing incremental indentation and other information and stores the appended lines. |
| a_indent | [in] The amount to indent this node. |
Reimplemented from GUPI::Ancestry.
Definition at line 894 of file GIDI_reaction.cc.
|
inline |
|
inlinevirtual |
Returns the result of calling "GUPI::Ancestry::buildXLinkItemKey( GIDI_labelChars, label() )".
Reimplemented from GIDI::Form.
|
friend |
Definition at line 4247 of file GIDI.hpp.
Referenced by calculateMultiGroupData(), modifyCrossSection(), ProtareSingle, and recalculateMultiGroupData().