Opm::SimulatorTimer Class Reference
Inheritance diagram for Opm::SimulatorTimer:
Constructor & Destructor Documentation
Default constructor. Member Function Documentation
Return the current time as a posix time object. References Opm::SimulatorTimerInterface::simulationTimeElapsed(), and Opm::SimulatorTimerInterface::startDateTime(). Referenced by Opm::SimulatorTimerInterface::currentPosixTime().
Time elapsed since the start of the POSIX epoch (Jan 1st, 1970) until the current time step begins [s]. References Opm::SimulatorTimerInterface::currentDateTime().
Current step length. This is the length of the step the simulator will take in the next iteration.
Implements Opm::SimulatorTimerInterface. Referenced by Opm::AdaptiveTimeStepping::stepImpl().
Current step number. This is the number of timesteps that has been completed from the start of the run. The time after initialization but before the simulation has started is timestep number zero. Implements Opm::SimulatorTimerInterface.
Return true if op++() has been called numSteps() times. Implements Opm::SimulatorTimerInterface.
Initialize from parameters. Accepts the following: num_psteps (default 1) stepsize_days (default 1)
Use the SimulatorTimer as a shim around opm-parser's Opm::TimeMap.
Total number of steps.
advance time by currentStepLength Referenced by advance().
Previous report step length. This is the length of the step that was taken to arrive at this report step time.
References Opm::SimulatorTimerInterface::stepLengthTaken().
Current report step number. This might differ from currentStepNum in case of sub stepping. Reimplemented in Opm::AdaptiveSimulatorTimer. References Opm::SimulatorTimerInterface::currentStepNum().
Set current step number.
Set total time. This is primarily intended for multi-epoch schedules, where a timer for a given epoch does not have access to later timesteps.
Time elapsed since the start of the simulation until the beginning of the current time step [s]. Implements Opm::SimulatorTimerInterface.
Return start date of simulation. Implements Opm::SimulatorTimerInterface.
Previous step length. This is the length of the step that was taken to arrive at this time.
Implements Opm::SimulatorTimerInterface.
Total time. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||