|
Cardinal
|
#include <FoMAux.h>
Public Member Functions | |
| FoMAux (const InputParameters ¶meters) | |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Types | |
| enum | FoMType { FoMType::VR = 0, FoMType::AMR = 1 } |
| The type of FoM to compute. More... | |
Protected Member Functions | |
| virtual Real | computeValue () override |
| bool | mappedElement () |
| void | errorCoupledConstMonomial (const std::string ¶m_name) |
| std::string | getScore (const std::string &score_param) |
| std::string | tallyByScore (const std::string &score, const std::string &tally_param) |
| Real | stdev (const double &mean, const double &sum_sq, unsigned int realizations) const |
| Real | kMean (const eigenvalue::EigenvalueEnum estimator) const |
| Real | kStandardDeviation (const eigenvalue::EigenvalueEnum estimator) const |
Protected Attributes | |
| const VariableValue * | _tally_val |
| The variable containing the tally. Used for the AMR FoM. More... | |
| const VariableValue * | _tally_val_init |
| A variable containing the initial value of the tally. Used for the AMR FoM. More... | |
| const VariableValue & | _tally_val_rel_err |
| The statistical relative error of the tally. Used for both FoMs. More... | |
| const Real & | _sim_time |
| The simulation time. Used for both FoMs. More... | |
| enum FoMAux::FoMType | _fom_type |
| OpenMCCellAverageProblem * | _openmc_problem |
| The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase. More... | |
A class which computes a Figure of Merit (FoM) for a tally quantity. There are two options:
|
strongprotected |
| FoMAux::FoMAux | ( | const InputParameters & | parameters | ) |
|
overrideprotectedvirtual |
Implements OpenMCAuxKernelTempl< ComputeValueType >.
|
protectedinherited |
A function which throws an error if a coupled variable is not a constant monomial.
| [in] | param_name | the name of the paraemter to check |
|
protectedinherited |
Get the score given a parameter name which points to a MooseEnum parameter. This checks to ensure that the score is valid (at least one tally is accumulating it).
| [in] | score_param | the name of the input parameter holding the score |
|
protectedinherited |
A function which computes the mean value of \(k_{eff}\).
| [in] | estimator | type of estimator |
|
protectedinherited |
A function which computes the standard deviation of \(k_{eff}\).
| [in] | estimator | type of estimator |
|
protectedinherited |
|
protectedinherited |
Compute standard deviation of a variable
| [in] | mean | mean |
| [in] | sum_sq | sum squared |
| [in] | realizations | the number of realizations of the variable |
|
protectedinherited |
Fetch a tally name by the score and the tally param in the input parameters. This checks the tally to ensure it is valid for the given score. If the parameter 'tally_param' is not valid and only one tally object accumulates 'score', this function returns the name of that tally.
| [in] | score | the score which the tally should be accumulating |
| [in] | tally_param | the parameter name in the input parameters for '_object' which contains the name of a tally. |
|
static |
|
protected |
|
protectedinherited |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase.
|
protected |
The simulation time. Used for both FoMs.
|
protected |
The variable containing the tally. Used for the AMR FoM.
|
protected |
A variable containing the initial value of the tally. Used for the AMR FoM.
|
protected |
The statistical relative error of the tally. Used for both FoMs.
1.8.16