www.mooseframework.org
RealFunctionControl.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef REALFUNCTIONCONTROL_H
16 #define REALFUNCTIONCONTROL_H
17 
18 // MOOSE includes
19 #include "Control.h"
20 
21 // Forward declarations
23 class Function;
24 
25 template <>
27 
32 {
33 public:
39 
40  virtual void execute() override;
41 
42 private:
45 
48 };
49 
50 #endif // REALFUNCTIONCONTROL_H
Base class for function objects.
Definition: Function.h:46
A basic control for changing an input parameter using a Function.
InputParameters validParams< RealFunctionControl >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
ControllableParameter< Real > _parameters
Vector of parameters to change.
virtual void execute() override
Execute the control.
Function & _function
The function to execute.
Base class for Control objects.
Definition: Control.h:43
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
RealFunctionControl(const InputParameters &parameters)
Class constructor.