www.mooseframework.org
Damper.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 DAMPER_H
16 #define DAMPER_H
17 
18 // Moose Includes
19 #include "MooseObject.h"
20 #include "SetupInterface.h"
21 #include "Restartable.h"
22 #include "MeshChangedInterface.h"
23 
24 // Forward Declarations
25 class Damper;
26 class SubProblem;
27 class SystemBase;
28 
29 template <>
31 
35 class Damper : public MooseObject,
36  public SetupInterface,
37  public Restartable,
39 {
40 public:
42 
48  void checkMinDamping(const Real cur_damping) const;
49 
50 protected:
53 
55  const Real & _min_damping;
56 };
57 
58 #endif
A class for creating restricted objects.
Definition: Restartable.h:31
InputParameters validParams< Damper >()
Definition: Damper.C:22
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for a system (of equations)
Definition: SystemBase.h:91
Damper(const InputParameters &parameters)
Definition: Damper.C:35
Interface for notifications that the mesh has changed.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:36
const Real & _min_damping
Minimum allowable value of damping.
Definition: Damper.h:55
void checkMinDamping(const Real cur_damping) const
Check whether damping is below the user-specified minimum value, and throw an exception if it is...
Definition: Damper.C:47
Generic class for solving transient nonlinear problems.
Definition: SubProblem.h:53
Base class for deriving dampers.
Definition: Damper.h:35
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
SubProblem & _subproblem
Definition: Damper.h:51
SystemBase & _sys
Definition: Damper.h:52