https://mooseframework.inl.gov
ScalingControl.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 #include "THMControl.h"
13 
17 class ScalingControl : public THMControl
18 {
19 public:
21 
22  virtual void execute() override;
23 
24 protected:
26  const Real & _scale;
28  const Real & _initial;
32  const Real & _value_old;
33 
34 public:
36 };
const Real & _scale
Scaling factor.
static InputParameters validParams()
const Real & _value_old
Old value of the control.
Control that multiplies old value by a scalar.
virtual void execute() override
ScalingControl(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _initial
Initial value.
const InputParameters & parameters() const
Real & _value
Current value control.