www.mooseframework.org
GeneralDamper.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 GENERALDAMPER_H
16 #define GENERALDAMPER_H
17 
18 // Moose Includes
19 #include "Damper.h"
20 
21 // Forward Declarations
22 class GeneralDamper;
23 class SubProblem;
24 class SystemBase;
25 class MooseVariable;
26 class Assembly;
27 
28 template <>
30 
34 class GeneralDamper : public Damper
35 {
36 public:
38 
42  virtual Real computeDamping(const NumericVector<Number> & solution,
43  const NumericVector<Number> & update) = 0;
44 };
45 
46 #endif // GENERALDAMPER_H
Base class for deriving general dampers.
Definition: GeneralDamper.h:34
Keeps track of stuff related to assembling.
Definition: Assembly.h:63
Class for stuff related to variables.
Definition: MooseVariable.h:43
InputParameters validParams< GeneralDamper >()
Definition: GeneralDamper.C:19
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
virtual Real computeDamping(const NumericVector< Number > &solution, const NumericVector< Number > &update)=0
Computes this Damper&#39;s damping.
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
GeneralDamper(const InputParameters &parameters)
Definition: GeneralDamper.C:25