LCOV - code coverage report
Current view: top level - include/userobjects - StateSimRunner.h (source / functions) Hit Total Coverage
Test: stochastic_tools Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-18 13:35:36 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : 
      20             : /**
      21             :  Object to start a State Simulation and manage the moose timesteping with state event times.
      22             :  */
      23           3 : 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;
      37             :   StateProcessor _state_sim;
      38             :   unsigned int _next_state_time;
      39             :   bool _ran_state_sim;
      40             : };
      41             : 
      42             : #endif /* STATESIMRUNNER_H */

Generated by: LCOV version 1.11