https://mooseframework.inl.gov
GeneralDamper.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 class SubProblem;
16 class SystemBase;
17 
21 class GeneralDamper : public Damper
22 {
23 public:
25 
27 
31  virtual Real computeDamping(const NumericVector<Number> & solution,
32  const NumericVector<Number> & update) = 0;
33 };
Base class for deriving general dampers.
Definition: GeneralDamper.h:21
static InputParameters validParams()
Definition: GeneralDamper.C:13
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:84
virtual Real computeDamping(const NumericVector< Number > &solution, const NumericVector< Number > &update)=0
Computes this Damper&#39;s damping.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Generic class for solving transient nonlinear problems.
Definition: SubProblem.h:78
Base class for deriving dampers.
Definition: Damper.h:24
const InputParameters & parameters() const
Get the parameters of the object.
GeneralDamper(const InputParameters &parameters)
Definition: GeneralDamper.C:19