Cardinal
|
#include <ComputeDiffusionCoeffMGAux.h>
Public Member Functions | |
ComputeDiffusionCoeffMGAux (const InputParameters ¶meters) | |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual Real | computeValue () override |
bool | mappedElement () |
Real | stdev (const double &mean, const double &sum_sq, unsigned int realizations) const |
Protected Attributes | |
const Real & | _void_diff |
The value the diffusion coefficient should take in a void region. More... | |
const VariableValue & | _total_rxn_rate |
The group-wise total reaction rate for computing the MG diffusion coefficient. More... | |
std::vector< const VariableValue * > | _p1_scattering_rates |
The group-wise P1 scattering reaction rates for computing the MG diffusion coefficient. More... | |
const VariableValue & | _scalar_flux |
The group-wise scalar flux for computing the MG diffusion coefficient. More... | |
OpenMCCellAverageProblem * | _openmc_problem |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase. More... | |
This auxkernel computes multi-group particle diffusion coefficients given a group-wise total reaction rate, the outgoing sum of group-wise P1 scattering reaction rates, and the group-wise scalar flux.
ComputeDiffusionCoeffMGAux::ComputeDiffusionCoeffMGAux | ( | const InputParameters & | parameters | ) |
|
overrideprotectedvirtual |
Implements OpenMCAuxKernelTempl< ComputeValueType >.
|
protectedinherited |
Determine whether the MOOSE element maps to an OpenMC cell to make sure we don't call accessor methods that rely on valid values for the cell instance and index
|
protectedinherited |
Compute standard deviation of a variable
[in] | mean | mean |
[in] | sum_sq | sum squared |
[in] | realizations | the number of realizations of the variable |
|
static |
|
protectedinherited |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase.
|
protected |
The group-wise P1 scattering reaction rates for computing the MG diffusion coefficient.
|
protected |
The group-wise scalar flux for computing the MG diffusion coefficient.
|
protected |
The group-wise total reaction rate for computing the MG diffusion coefficient.
|
protected |
The value the diffusion coefficient should take in a void region.