Classes | Functions
Damper.h File Reference

Go to the source code of this file.


class  Damper
 Base class for deriving dampers. More...


InputParameters validParams< Damper > ()

Function Documentation

InputParameters validParams< Damper > ( )

Definition at line 22 of file Damper.C.

Referenced by validParams< ElementDamper >(), validParams< GeneralDamper >(), and validParams< NodalDamper >().

23 {
25  params.declareControllable("enable"); // allows Control to enable/disable this type of object
26  params.registerBase("Damper");
27  params.addParam<Real>("min_damping",
28  0.0,
29  "Minimum value of computed damping. Damping lower than "
30  "this will result in an exception being thrown and "
31  "cutting the time step");
32  return params;
33 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System...
void declareControllable(const std::string &name)
Declare the given parameters as controllable.
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...