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

Go to the source code of this file.

Classes

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

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 }