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