www.mooseframework.org
Steady.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 STEADY_H
16 #define STEADY_H
17 
18 #include "Executioner.h"
19 
20 // System includes
21 #include <string>
22 
23 // Forward declarations
24 class InputParameters;
25 class Steady;
26 class FEProblemBase;
27 
28 template <typename T>
30 
31 template <>
33 
37 class Steady : public Executioner
38 {
39 public:
47 
48  virtual void init() override;
49 
50  virtual void execute() override;
51 
52  virtual void checkIntegrity();
53 
54 protected:
56 
57  int & _time_step;
58  Real & _time;
59 };
60 
61 #endif // STEADY_H
InputParameters validParams()
Steady executioners usually only call "solve()" on the NonlinearSystem once.
Definition: Steady.h:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
InputParameters validParams< Steady >()
Definition: Steady.C:26
Real & _time
Definition: Steady.h:58
Executioners are objects that do the actual work of solving your problem.
Definition: Executioner.h:41
int & _time_step
Definition: Steady.h:57
FEProblemBase & _problem
Definition: Steady.h:55
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual void checkIntegrity()
Definition: Steady.C:121
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
Definition: Steady.C:59
virtual void init() override
Initialize the executioner.
Definition: Steady.C:44
Steady(const InputParameters &parameters)
Constructor.
Definition: Steady.C:31