26 m_projectileID( a_projectileID ),
27 m_delayedNeutrons( a_delayedNeutrons ),
28 m_nuclearPlusCoulombInterferenceOnly( false ),
29 m_throwOnError( true ),
30 m_zeroDepositionIfAllProductsTracked( true ) {
77 std::size_t n2 =
product->fineMultiGroup( ).numberOfGroups( );
80 n2 =
product->numberOfGroups( );
92void Settings::print( )
const {
94 std::cout <<
"setting info:" << std::endl;
95 std::cout <<
" transport mode = " << m_mode << std::endl;
97 std::cout <<
" delayed neutrons ";
98 if( m_delayedNeutrons ) {
99 std::cout <<
"on" << std::endl; }
101 std::cout <<
"off" << std::endl;
104 std::cout <<
" throw on error ";
105 if( m_throwOnError ) {
106 std::cout <<
"on" << std::endl; }
108 std::cout <<
"off" << std::endl;
124 Settings( a_projectileID, a_delayedNeutrons ),
126 m_useMultiGroupSummedData( true ) {
143 std::string a_dataType, std::string
const &a_label )
const {
147 if( a_label !=
"" ) {
156 if( ( iter == a_suite.
end( ) ) && ( a_label ==
"" ) ) {
160 if( iter == a_suite.
end( ) ) {
161 std::string sourceInfo( a_suite.
toXLink( ) );
163 sourceInfo +=
" for protare " + rootProtareSingle->
projectile( ).
ID( ) +
" + " + rootProtareSingle->
target( ).
ID( )
164 +
" for " + rootProtareSingle->
evaluation( ) +
".";
167 throw Exception(
"ERROR from GIDI::MG::form: label '" + label +
"' not found in suite '" + sourceInfo ); }
169 std::string warning(
"data for " + a_dataType +
" not found with label '" + label +
"' in suite " + sourceInfo );
std::string const & ID() const
std::string const & evaluation(LUPI_maybeUnused std::size_t a_index=0) const
ParticleInfo const & target() const
ParticleInfo const & projectile() const
std::string const & heatedMultiGroup() const
std::string const & SnElasticUpScatter() const
iterator find(std::string const &a_label, bool a_convertLazyParsingHelperForm=false)
Forms::const_iterator const_iterator
Form const * form(LUPI::StatusMessageReporting &a_smr, GIDI::Suite const &a_suite, Styles::TemperatureInfo const &a_temperatureInfo, std::string a_dataType, std::string const &a_label="") const
MG(std::string const &a_projectileID, Mode a_mode, DelayedNeutrons a_delayedNeutrons)
std::size_t numberOfGroups() const
MultiGroup fineMultiGroup() const
std::size_t numberOfGroups() const
Particle const * particle(std::string const &a_particleID) const
bool throwOnError() const
Vector multiGroupZeroVector(Particles const &a_particles, bool a_collapse=true) const
Matrix multiGroupZeroMatrix(Particles const &a_particles, std::string const &a_particleID, bool a_collapse=true) const
std::string const & projectileID() const
Settings(std::string const &a_projectileID, DelayedNeutrons a_delayedNeutrons)
std::string toXLink() const
statusMessageReporting * smr()
@ multiGroupWithSnElasticUpScatter
#define smr_setReportError2p(smr, libraryID, code, fmt)