From c890989d254f745e0a2f7aebb05ec963a24bcdbf Mon Sep 17 00:00:00 2001 From: Yaqi Wang Date: Fri, 8 Feb 2019 12:41:40 -0700 Subject: [PATCH] fix few run-time warnings --- src/transfers/MultiAppNeutronicsSpectrumTransfer.C | 4 ++-- tests/radiation_damage/coupled_fission_mockup/damage_sub.i | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/transfers/MultiAppNeutronicsSpectrumTransfer.C b/src/transfers/MultiAppNeutronicsSpectrumTransfer.C index 3a73d859..fb15238b 100644 --- a/src/transfers/MultiAppNeutronicsSpectrumTransfer.C +++ b/src/transfers/MultiAppNeutronicsSpectrumTransfer.C @@ -58,8 +58,8 @@ MultiAppNeutronicsSpectrumTransfer::execute() for (THREAD_ID tid = 0; tid < libMesh::n_threads(); ++tid) { PKAGeneratorNeutronicsBase & pka_uo = const_cast( - _multi_app->appProblem(i).getUserObject(_pka_generator_name, - tid)); + _multi_app->appProblemBase(i).getUserObject( + _pka_generator_name, tid)); pka_uo.setPDF(zaids, energies, probabilities); } } diff --git a/tests/radiation_damage/coupled_fission_mockup/damage_sub.i b/tests/radiation_damage/coupled_fission_mockup/damage_sub.i index 98da393b..a5699270 100644 --- a/tests/radiation_damage/coupled_fission_mockup/damage_sub.i +++ b/tests/radiation_damage/coupled_fission_mockup/damage_sub.i @@ -136,7 +136,6 @@ [UserObjects] [./neutronics_fission_generator] type = PKAFissionFragmentNeutronics - relative_density = 1 partial_reaction_rates = '2.0e-11 0 0' [../] [./rasterizer]