mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
IFP creates fatal error in all run modes except eigenvalue. (#3681)
This commit is contained in:
parent
5c4121efd2
commit
1b5033dab4
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ Tally::Tally(pugi::xml_node node)
|
|||
"number of inactive cycles.");
|
||||
}
|
||||
settings::ifp_on = true;
|
||||
} else {
|
||||
} else if (settings::run_mode == RunMode::FIXED_SOURCE) {
|
||||
fatal_error(
|
||||
"Iterated Fission Probability can only be used in an eigenvalue "
|
||||
"calculation.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue