https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Damper.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 "MooseObject.h"
14#include "SetupInterface.h"
15#include "Restartable.h"
17
18class SubProblem;
19class SystemBase;
20
24class Damper : public MooseObject,
25 public SetupInterface,
26 public Restartable,
28{
29public:
31
33
39 void checkMinDamping(const Real cur_damping) const;
40
41protected:
44
46 const Real & _min_damping;
47};
Base class for deriving dampers.
Definition Damper.h:28
static InputParameters validParams()
Definition Damper.C:16
const Real & _min_damping
Minimum allowable value of damping.
Definition Damper.h:46
SystemBase & _sys
Definition Damper.h:43
SubProblem & _subproblem
Definition Damper.h:42
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:42
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Interface for notifications that the mesh has changed.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31
A class for creating restricted objects.
Definition Restartable.h:29
Generic class for solving transient nonlinear problems.
Definition SubProblem.h:79
Base class for a system (of equations)
Definition SystemBase.h:87