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

Go to the source code of this file.

Classes

class  ConstantRate
 Represents the rate in a simple ODE of du/dt = rate. More...
 

Functions

template<>
InputParameters validParams< ConstantRate > ()
 

Function Documentation

Definition at line 19 of file ConstantRate.C.

20 {
22  params.addRequiredParam<Real>("rate", "The constant rate in 'du/dt = rate'");
23  params.declareControllable("rate");
24  return params;
25 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< NodalKernel >()
Definition: NodalKernel.C:24
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
void declareControllable(const std::string &name)
Declare the given parameters as controllable.