Use the flexible simulator class.

No longer just the reordering one.
This commit is contained in:
Atgeirr Flø Rasmussen 2013-03-15 14:18:41 +01:00
parent df556f08f9
commit f6853b2c2b

View File

@ -43,7 +43,7 @@
#include <opm/core/simulator/TwophaseState.hpp>
#include <opm/core/simulator/WellState.hpp>
#include <opm/core/simulator/SimulatorIncompTwophaseReorder.hpp>
#include <opm/core/simulator/SimulatorIncompTwophase.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/filesystem.hpp>
@ -200,7 +200,7 @@ main(int argc, char** argv)
if (!use_deck) {
// Simple simulation without a deck.
WellsManager wells; // no wells.
SimulatorIncompTwophaseReorder simulator(param,
SimulatorIncompTwophase simulator(param,
*grid->c_grid(),
*props,
rock_comp->isActive() ? rock_comp.get() : 0,
@ -255,7 +255,7 @@ main(int argc, char** argv)
}
// Create and run simulator.
SimulatorIncompTwophaseReorder simulator(param,
SimulatorIncompTwophase simulator(param,
*grid->c_grid(),
*props,
rock_comp->isActive() ? rock_comp.get() : 0,