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

template<>
InputParameters validParams< GradParsedFunction > ( )

Definition at line 13 of file GradParsedFunction.C.

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