#include <TimeMap.hpp>
Opm::TimeMap::TimeMap |
( |
boost::posix_time::ptime |
startDate | ) |
|
void Opm::TimeMap::addTime |
( |
boost::posix_time::ptime |
newTime | ) |
|
void Opm::TimeMap::addTStep |
( |
boost::posix_time::time_duration |
step | ) |
|
static boost::posix_time::time_duration Opm::TimeMap::dayTimeFromEclipse |
( |
const std::string & |
eclipseTimeString | ) |
|
|
static |
boost::posix_time::ptime Opm::TimeMap::getStartTime |
( |
size_t |
tStepIdx | ) |
const |
Return the date and time where a given time step starts.
double Opm::TimeMap::getTimePassedUntil |
( |
size_t |
tLevelIdx | ) |
const |
Return the period of time in seconds which passed between the start of the simulation and a given point in time.
double Opm::TimeMap::getTimeStepLength |
( |
size_t |
tStepIdx | ) |
const |
Return the length of a given time step in seconds.
double Opm::TimeMap::getTotalTime |
( |
| ) |
const |
void Opm::TimeMap::initFirstTimestepsMonths |
( |
| ) |
|
void Opm::TimeMap::initFirstTimestepsYears |
( |
| ) |
|
bool Opm::TimeMap::isTimestepInFirstOfMonthsYearsSequence |
( |
size_t |
timestep, |
|
|
bool |
years = true , |
|
|
size_t |
start_timestep = 1 , |
|
|
size_t |
frequency = 1 |
|
) |
| const |
Return true if the given timestep is the first one of a new month or year, or if frequency > 1, return true for every n'th timestep of every first new month or first new year timesteps, starting from start_timestep-1.
size_t Opm::TimeMap::numTimesteps |
( |
| ) |
const |
const boost::posix_time::ptime& Opm::TimeMap::operator[] |
( |
size_t |
index | ) |
const |
size_t Opm::TimeMap::size |
( |
| ) |
const |
static boost::posix_time::ptime Opm::TimeMap::timeFromEclipse |
( |
DeckRecordConstPtr |
dateRecord | ) |
|
|
static |
static boost::posix_time::ptime Opm::TimeMap::timeFromEclipse |
( |
int |
day, |
|
|
const std::string & |
month, |
|
|
int |
year, |
|
|
const std::string & |
eclipseTimeString = "00:00:00.000" |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: