https://mooseframework.inl.gov
PostprocessorDT.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 "TimeStepper.h"
13 #include "PostprocessorInterface.h"
14 
19 {
20 public:
22 
24 
25 protected:
26  virtual Real computeInitialDT() override;
27  virtual Real computeDT() override;
28 
32 
34  const Real & _scale;
35 
37  const Real & _offset;
38 };
const Real & _scale
Multiplier applied to the postprocessor value.
Base class for time stepping.
Definition: TimeStepper.h:22
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const PostprocessorValue & _pps_value
virtual Real computeInitialDT() override
Computes time step size for the initial time step.
Real PostprocessorValue
various MOOSE typedefs
Definition: MooseTypes.h:202
const Real & _offset
Offset added to the postprocessor value.
Computes the value of dt based on a postprocessor value.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
PostprocessorDT(const InputParameters &parameters)
Interface class for classes which interact with Postprocessors.
virtual Real computeDT() override
Computes time step size after the initial time step.