Go to the documentation of this file.
22 "function",
"The functions to set the scalar variable components.");
30 std::vector<FunctionName> funcs = getParam<std::vector<FunctionName>>(
"function");
32 mooseError(
"number of functions is not equal to the number of scalar variable components");
34 for (
const auto & func : funcs)
void mooseError(Args &&... args) const
const Point & _point_zero
Zero point.
const Function & getFunctionByName(const FunctionName &name) const
Get a function with a given name.
static InputParameters validParams()
Base class for making kernels that work on auxiliary scalar variables.
static InputParameters validParams()
defineLegacyParams(FunctionScalarAux)
Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.
Sets a value of a scalar variable based on the function.
FunctionScalarAux(const InputParameters ¶meters)
virtual Real computeValue() override
Compute the value of this kernel.
registerMooseObject("MooseApp", FunctionScalarAux)
std::vector< const Function * > _functions
MooseVariableScalar & _var