www.mooseframework.org
Functions
Grad2ParsedFunction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Grad2ParsedFunction > ()
 

Function Documentation

template<>
InputParameters validParams< Grad2ParsedFunction > ( )

Definition at line 13 of file Grad2ParsedFunction.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 "
20  "vector. This function returned a finite-difference approx to "
21  "(direction.nabla)^2 function");
22  return params;
23 }