Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullapp reentering fix #372

Merged
merged 2 commits into from
Oct 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/transfers/MultiAppNeutronicsSpectrumTransfer.C
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ MultiAppNeutronicsSpectrumTransfer::execute()
for (THREAD_ID tid = 0; tid < libMesh::n_threads(); ++tid)
{
PKAGeneratorNeutronicsBase & pka_uo = const_cast<PKAGeneratorNeutronicsBase &>(
_multi_app->appProblem(i).getUserObject<PKAGeneratorNeutronicsBase>(_pka_generator_name,
tid));
_multi_app->appProblemBase(i).getUserObject<PKAGeneratorNeutronicsBase>(
_pka_generator_name, tid));
pka_uo.setPDF(zaids, energies, probabilities);
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/radiation_damage/coupled_fission_mockup/damage_sub.i
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
[UserObjects]
[./neutronics_fission_generator]
type = PKAFissionFragmentNeutronics
relative_density = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a valid parameter of PKAFissionFragmentNeutronics. We have a warning during run-time saying a unused param is detected.

partial_reaction_rates = '2.0e-11 0 0'
[../]
[./rasterizer]
Expand Down
Binary file not shown.