www.mooseframework.org
BoundingValueElementDamper.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 BOUNDINGVALUEELEMENTDAMPER_H
16 #define BOUNDINGVALUEELEMENTDAMPER_H
17 
18 // Moose Includes
19 #include "ElementDamper.h"
20 
21 // Forward Declarations
23 
24 template <>
26 
32 {
33 public:
35 
36 protected:
38  const Real & _max_value;
40  const Real & _min_value;
42  virtual Real computeQpDamping() override;
43 };
44 
45 #endif // BOUNDINGVALUEELEMENTDAMPER_H
const Real & _min_value
The minimum permissible value of the variable.
This class implements a damper that limits the value of a variable to be within user-specified bounds...
InputParameters validParams< BoundingValueElementDamper >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Real & _max_value
The maximum permissible value of the variable.
Base class for deriving element dampers.
Definition: ElementDamper.h:37
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual Real computeQpDamping() override
Compute the damping for the current qp.
BoundingValueElementDamper(const InputParameters &parameters)