www.mooseframework.org
BoundingValueNodalDamper.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 BOUNDINGVALUENODALDAMPER_H
16 #define BOUNDINGVALUENODALDAMPER_H
17 
18 // Moose Includes
19 #include "NodalDamper.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 // BOUNDINGVALUENODALDAMPER_H
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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...
Base class for deriving nodal dampers.
Definition: NodalDamper.h:37
InputParameters validParams< BoundingValueNodalDamper >()
BoundingValueNodalDamper(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual Real computeQpDamping() override
Compute the damping for the current node.
const Real & _max_value
The maximum permissible value of the variable.