|
Cardinal
|
#include <ElementOpticalDepthIndicator.h>
Public Member Functions | |
| ElementOpticalDepthIndicator (const InputParameters ¶meters) | |
| virtual void | computeIndicator () override |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Types | |
| enum | HType { HType::Min = 0, HType::Max = 1, HType::CubeRoot = 2 } |
| The type of element length to use for estimating the optical depth. More... | |
Protected Member Functions | |
| 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 | |
| enum ElementOpticalDepthIndicator::HType | _h_type |
| std::vector< const VariableValue * > | _rxn_rates |
| std::vector< const VariableValue * > | _scalar_fluxes |
| const bool | _invert |
| Whether or not the optical depth should be inverted or not. More... | |
| MooseVariable & | _field_var |
| The field variable holding the results of this indicator. More... | |
| const Elem *const & | _current_elem |
| The current element. More... | |
| OpenMCCellAverageProblem * | _openmc_problem |
| The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase. More... | |
An Indicator which returns an estimate of the optical depth experienced by photons/neutrons which traverse the element.
|
strongprotected |
| ElementOpticalDepthIndicator::ElementOpticalDepthIndicator | ( | const InputParameters & | parameters | ) |
|
overridevirtual |
|
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 |
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 |
|
protectedinherited |
The current element.
|
protectedinherited |
The field variable holding the results of this indicator.
|
protected |
|
protected |
Whether or not the optical depth should be inverted or not.
|
protectedinherited |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase.
|
protected |
The variables containing the reaction rate. This needs to be a vector because the reaction rate score may have filters applied, and so we need to sum the reaction rate over all filter bins.
|
protected |
The variables containing the scalar flux. This needs to be a vector because the scalar flux score may have filters applied, and so we need to sum the scalar fluxes over all filter bins.
1.8.16