mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Changes in output.cpp from PullRequest Inc. review
This commit is contained in:
parent
a8ef1ea195
commit
2c923f9f5c
3 changed files with 8 additions and 42 deletions
|
|
@ -345,11 +345,6 @@ void finalize_batch()
|
|||
simulation::n_realizations = 0;
|
||||
}
|
||||
|
||||
if (settings::run_mode == RunMode::EIGENVALUE) {
|
||||
// Write batch output
|
||||
if (mpi::master && settings::verbosity >= 7) print_batch_keff();
|
||||
}
|
||||
|
||||
// Check_triggers
|
||||
if (mpi::master) check_triggers();
|
||||
#ifdef OPENMC_MPI
|
||||
|
|
@ -442,9 +437,7 @@ void finalize_generation()
|
|||
|
||||
// Write generation output
|
||||
if (mpi::master && settings::verbosity >= 7) {
|
||||
if (simulation::current_gen != settings::gen_per_batch) {
|
||||
print_generation();
|
||||
}
|
||||
print_generation();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue