20 "sampling a function through space and time.");
21 params.
addRequiredParam<FunctionName>(
"function",
"The function to use as the value");
26 :
AuxKernel(parameters), _func(getFunction(
"function"))
registerMooseObject("MooseApp", FunctionAux)
bool isNodal() const
Nodal or elemental kernel?
const MooseArray< Point > & _q_point
Active quadrature points.
const Node *const & _current_node
Current node (valid only for nodal kernels)
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
Function auxiliary value.
virtual Real computeValue() override
Compute and return the value of the aux variable.
static InputParameters validParams()
const Function & _func
Function being used to compute the value of this kernel.
FunctionAux(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...