20 params.
addParam<PostprocessorName>(
"normalization",
"The postprocessor on the source");
21 params.
addParam<PostprocessorName>(
"shift",
"The postprocessor to shift the source");
22 params.
addParam<
Real>(
"normal_factor", 1.0,
"The normalization factor");
28 _src(coupledValue(
"source_variable")),
29 _pp_on_source(isParamValid(
"normalization") ? &getPostprocessorValue(
"normalization") : NULL),
30 _shift(isParamValid(
"shift") ? &getPostprocessorValue(
"shift") : NULL),
31 _normal_factor(getParam<
Real>(
"normal_factor"))
39 mooseAssert(denominator != 0.,
"postprocessor value is zero");
registerMooseObject("MooseApp", NormalizationAux)
virtual Real computeValue() override
Compute and return the value of the aux variable.
static InputParameters validParams()
const VariableValue & _src
This auxiliary kernel normalizes a variable based on a postprocessor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real *const _pp_on_source
NormalizationAux(const InputParameters ¶meters)
unsigned int _qp
Quadrature point index.
static InputParameters validParams()