Use existing TimeMap, instead of creating new.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-11-03 13:33:30 +01:00
parent 702859c5e3
commit 495699fde6

View File

@ -237,7 +237,7 @@ try
rep = simulator.run(simtimer, state, well_state);
} else {
// With a deck, we may have more epochs etc.
Opm::TimeMapPtr timeMap(new Opm::TimeMap(deck));
Opm::TimeMapConstPtr timeMap = eclipseState->getSchedule()->getTimeMap();
std::cout << "\n\n================ Starting main simulation loop ===============\n"
<< " (number of report steps: "