www.mooseframework.org
Classes | Functions
GradParsedFunction.h File Reference

Go to the source code of this file.

Classes

class  GradParsedFunction
 returns the central difference approx to the derivative of the function, ie (f(t, p + direction) - f(t, p - direction))/2/|direction| This derives from MooseParsedFunction, so it already knows about a function More...
 

Functions

template<>
InputParameters validParams< GradParsedFunction > ()
 

Function Documentation

◆ validParams< GradParsedFunction >()

template<>
InputParameters validParams< GradParsedFunction > ( )

Definition at line 17 of file GradParsedFunction.C.

18 {
19  InputParameters params = validParams<MooseParsedFunction>();
20  params += validParams<MooseParsedFunction>();
21  params.addRequiredParam<RealVectorValue>(
22  "direction",
23  "The direction in which to take the derivative. This must not be a zero-length vector");
24  return params;
25 }