www.mooseframework.org
GradParsedFunction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MooseParsedFunction.h"
13 
14 // Forward declarations
15 
23 {
24 public:
26 
28 
29  using Function::value;
30  virtual Real value(Real t, const Point & pt) const;
31 
32 protected:
35 
38 };
RealVectorValue _direction
central difference direction
virtual Real value(Real t, const Point &pt) const
returns the central difference approx to the derivative of the function, ie (f(t, p + direction) - f(...
Real _len
2*|_direction|
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const InputParameters & parameters() const
virtual Real value(Real t, const Point &p) const
GradParsedFunction(const InputParameters &parameters)