www.mooseframework.org
BoundingValueElementDamper.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 "ElementDamper.h"
14 
20 {
21 public:
23 
25 
26 protected:
28  const Real & _max_value;
30  const Real & _min_value;
32  virtual Real computeQpDamping() override;
33 };
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...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
const Real & _max_value
The maximum permissible value of the variable.
Base class for deriving element dampers.
Definition: ElementDamper.h:28
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeQpDamping() override
Compute the damping for the current qp.
BoundingValueElementDamper(const InputParameters &parameters)