www.mooseframework.org
MaxIncrement.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 
19 {
20 public:
22 
24 
25 protected:
26  virtual Real computeQpDamping() override;
27 
30 
31  /* Enum for increment calculation type. Absolute compares the variable increment
32  * to max_increment. Fractional compares the variable increment divided by the
33  * variable value to to max_increment.
34  */
36 };
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Real _max_increment
The maximum Newton increment for the variable.
Definition: MaxIncrement.h:29
static InputParameters validParams()
Definition: MaxIncrement.C:15
MaxIncrement(const InputParameters &parameters)
Definition: MaxIncrement.C:32
virtual Real computeQpDamping() override
This MUST be overridden by a child damper.
Definition: MaxIncrement.C:40
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.
enum MaxIncrement::IncrementTypeEnum _increment_type