mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Translate print_results to C++
This commit is contained in:
parent
a7b0babb96
commit
a732efbe51
8 changed files with 98 additions and 74 deletions
|
|
@ -34,7 +34,7 @@ extern "C" double normal_percentile(double p);
|
|||
//! \return The requested percentile
|
||||
//==============================================================================
|
||||
|
||||
extern "C" double t_percentile_c(double p, int df);
|
||||
extern "C" double t_percentile(double p, int df);
|
||||
|
||||
//==============================================================================
|
||||
//! Calculate the n-th order Legendre polynomials at the value of x.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#define OPENMC_OUTPUT_H
|
||||
|
||||
#include <string>
|
||||
#include <utility> // for pair
|
||||
|
||||
#include "openmc/particle.h"
|
||||
|
||||
|
|
@ -65,5 +66,13 @@ void print_batch_keff();
|
|||
|
||||
void print_runtime();
|
||||
|
||||
//! Display results for global tallies including k-effective estimators
|
||||
|
||||
void print_results();
|
||||
|
||||
//! Calculate the mean and standard deviation for a tally result
|
||||
|
||||
std::pair<double, double> mean_stdev(const double* x, int n);
|
||||
|
||||
} // namespace openmc
|
||||
#endif // OPENMC_OUTPUT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue