mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Make sure output is always verbosity-limited
This commit is contained in:
parent
6eba9841b5
commit
d9e5249e8e
2 changed files with 4 additions and 1 deletions
|
|
@ -211,6 +211,7 @@ extern "C" void print_particle(Particle* p)
|
|||
void print_plot()
|
||||
{
|
||||
header("PLOTTING SUMMARY", 5);
|
||||
if (settings::verbosity < 5) return;
|
||||
|
||||
for (auto pl : model::plots) {
|
||||
// Plot id
|
||||
|
|
@ -453,6 +454,7 @@ void print_runtime()
|
|||
|
||||
// display header block
|
||||
header("Timing Statistics", 6);
|
||||
if (settings::verbosity < 6) return;
|
||||
|
||||
// Save state of cout
|
||||
auto f {std::cout.flags()};
|
||||
|
|
@ -537,6 +539,7 @@ void print_results()
|
|||
|
||||
// display header block for results
|
||||
header("Results", 4);
|
||||
if (settings::verbosity < 4) return;
|
||||
|
||||
// Calculate t-value for confidence intervals
|
||||
int n = simulation::n_realizations;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue