21 "function",
"The functions to set the scalar variable components.");
29 std::vector<FunctionName> funcs = getParam<std::vector<FunctionName>>(
"function");
31 mooseError(
"number of functions is not equal to the number of scalar variable components");
33 for (
const auto & func : funcs)
registerMooseObject("MooseApp", FunctionScalarAux)
Base class for making kernels that work on auxiliary scalar variables.
static InputParameters validParams()
MooseVariableScalar & _var
const Function & getFunctionByName(const FunctionName &name) const
Get a function with a given name.
Sets a value of a scalar variable based on the function.
static InputParameters validParams()
std::vector< const Function * > _functions
virtual Real computeValue() override
Compute the value of this kernel.
FunctionScalarAux(const InputParameters ¶meters)
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
libMesh::Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.
const Point & _point_zero
Zero point.