www.mooseframework.org
PostprocessorDT.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef POSTPROCESSORDT_H
16 #define POSTPROCESSORDT_H
17 
18 #include "TimeStepper.h"
19 #include "PostprocessorInterface.h"
20 
21 class PostprocessorDT;
22 
23 template <>
25 
30 {
31 public:
33 
34 protected:
35  virtual Real computeInitialDT() override;
36  virtual Real computeDT() override;
37 
41 
43  const Real & _scale;
44 
46  const Real & _factor;
47 };
48 
49 #endif /* POSTPROCESSORDT_H */
const Real & _factor
Factor added to the postprocessor value.
const Real & _scale
Multiplier applied to the postprocessor value.
Base class for time stepping.
Definition: TimeStepper.h:31
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const PostprocessorValue & _pps_value
virtual Real computeInitialDT() override
Called to compute _current_dt for the first timestep.
Real PostprocessorValue
MOOSE typedefs.
Definition: MooseTypes.h:73
InputParameters validParams< PostprocessorDT >()
Computes the value of dt based on a postprocessor value.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
PostprocessorDT(const InputParameters &parameters)
Interface class for classes which interact with Postprocessors.
virtual Real computeDT() override
Called to compute _current_dt for a normal step.