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)
std::vector< const Function * > _functions
MooseVariableScalar & _var
static InputParameters validParams()
const Point & _point_zero
Zero point.
virtual Real computeValue() override
Compute the value of this kernel.
registerMooseObject("MooseApp", FunctionScalarAux)
Base class for making kernels that work on auxiliary scalar variables.
libMesh::Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int...
FunctionScalarAux(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Function & getFunctionByName(const FunctionName &name) const
Get a function with a given name.
static InputParameters validParams()
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...
Sets a value of a scalar variable based on the function.