www.mooseframework.org
BoundingValueNodalDamper.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 "NodalDamper.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 };
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
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:27
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
BoundingValueNodalDamper(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeQpDamping() override
Compute the damping for the current node.
const Real & _max_value
The maximum permissible value of the variable.