www.mooseframework.org
StateSimRunner.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef STATESIMRUNNER_H
9 #define STATESIMRUNNER_H
10 
11 #include <string>
12 #include "GeneralUserObject.h"
13 #include "StateProcessor.h"
14 
15 class StateSimRunner;
16 
17 template <>
18 InputParameters validParams<StateSimRunner>();
19 
23 class StateSimRunner : public GeneralUserObject
24 {
25 public:
26  StateSimRunner(const InputParameters & parameters);
27 
28  virtual void initialize() override;
29  virtual void execute() override;
30  virtual void finalize() override;
31 
32  Real getValue() const;
33  // Real getValue() const { return 0; }
34 
35 protected:
36  std::string _model_path;
38  unsigned int _next_state_time;
40 };
41 
42 #endif /* STATESIMRUNNER_H */
std::string _model_path
StateProcessor _state_sim
virtual void initialize() override
Real getValue() const
Object to load and run and manage a state simulation model.
virtual void execute() override
virtual void finalize() override
Object to start a State Simulation and manage the moose timesteping with state event times...
InputParameters validParams< StateSimRunner >()
unsigned int _next_state_time
StateSimRunner(const InputParameters &parameters)