www.mooseframework.org
GeneralDamper.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // Moose Includes
13 #include "Damper.h"
14 
15 // Forward Declarations
16 class GeneralDamper;
17 class SubProblem;
18 class SystemBase;
19 
20 template <>
22 
26 class GeneralDamper : public Damper
27 {
28 public:
30 
34  virtual Real computeDamping(const NumericVector<Number> & solution,
35  const NumericVector<Number> & update) = 0;
36 };
37 
Base class for deriving general dampers.
Definition: GeneralDamper.h:26
InputParameters validParams< GeneralDamper >()
Definition: GeneralDamper.C:14
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:92
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:65
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:59
Base class for deriving dampers.
Definition: Damper.h:29
GeneralDamper(const InputParameters &parameters)
Definition: GeneralDamper.C:20