IFP creates fatal error in all run modes except eigenvalue. (#3681)

This commit is contained in:
GuySten 2025-12-12 08:21:46 +02:00 committed by GitHub
parent 5c4121efd2
commit 1b5033dab4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.");