#include <OpenMCWallTime.h>
|
| | OpenMCWallTime (const InputParameters ¶meters) |
| |
| virtual void | initialize () override |
| |
| virtual void | execute () override |
| |
| virtual Real | getValue () const override |
| |
| | CreateMooseEnumClass (OpenMCTime, initialization_time=0, total_simulation_time=1, transport_time=2, inactive_batch_time=3, active_batch_time=4, fission_bank_time=5, tally_accumulation_time=6, finalization_time=7, total_elapsed_time=8) |
| |
OpenMCWallTime is a post-processsor that returns the OpenMC wall time. This is one of several options at present:
- Total time spent during initialization;
- Total time spent running a simulation;
- Total time running transport;
- Total time running inactive batches;
- Total time running active batches;
- Total time synchronizing the fission bank;
- Total time accumulating tallies;
- Total time spent in finalization;
- Total time elapsed. The accumulated time (over all time steps / adaptivity steps / Picard iterations) is returned by default to facilitate the computation of figures of merit. This behaviour can be adjusted to return the wall time for a single simulation, if desired.
◆ OpenMCWallTime()
| OpenMCWallTime::OpenMCWallTime |
( |
const InputParameters & |
parameters | ) |
|
◆ CreateMooseEnumClass()
| OpenMCWallTime::CreateMooseEnumClass |
( |
OpenMCTime |
, |
|
|
initialization_time |
= 0, |
|
|
total_simulation_time |
= 1, |
|
|
transport_time |
= 2, |
|
|
inactive_batch_time |
= 3, |
|
|
active_batch_time |
= 4, |
|
|
fission_bank_time |
= 5, |
|
|
tally_accumulation_time |
= 6, |
|
|
finalization_time |
= 7, |
|
|
total_elapsed_time |
= 8 |
|
) |
| |
Declare the OpenMCTime enum. These will correspond 1 to 1 to the enums used in the input file.
◆ execute()
| virtual void OpenMCWallTime::execute |
( |
| ) |
|
|
overridevirtual |
◆ getValue()
| virtual Real OpenMCWallTime::getValue |
( |
| ) |
const |
|
overridevirtual |
◆ initialize()
| virtual void OpenMCWallTime::initialize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ kMean()
A function which computes the mean value of \(k_{eff}\).
- Parameters
-
| [in] | estimator | type of estimator |
- Returns
- the mean value of the k-eigenvalue
◆ kStandardDeviation()
A function which computes the standard deviation of \(k_{eff}\).
- Parameters
-
| [in] | estimator | type of estimator |
- Returns
- the standard deviation of the k-eigenvalue
◆ stdev()
| Real OpenMCBase::stdev |
( |
const double & |
mean, |
|
|
const double & |
sum_sq, |
|
|
unsigned int |
realizations |
|
) |
| const |
|
protectedinherited |
Compute standard deviation of a variable
- Parameters
-
| [in] | mean | mean |
| [in] | sum_sq | sum squared |
| [in] | realizations | the number of realizations of the variable |
- Returns
- standard deviation
◆ validParams()
| static InputParameters OpenMCWallTime::validParams |
( |
| ) |
|
|
static |
◆ _accumulate_time
| const bool& OpenMCWallTime::_accumulate_time |
|
protected |
Whether the simulation time should be accumulated or not.
◆ _openmc_problem
◆ _openmc_time
| const OpenMCTime OpenMCWallTime::_openmc_time |
|
protected |
The type of time to report from OpenMC.
◆ _walltime
| Real OpenMCWallTime::_walltime |
|
protected |
The accumulate or step walltime.
The documentation for this class was generated from the following file: