Merge pull request #186 from atgeirr/use-pinch

Use direct deck-using version of grid construction method.
This commit is contained in:
Bård Skaflestad 2014-08-22 20:36:26 +02:00
commit d8452145ae

View File

@ -137,15 +137,7 @@ try
// Grid init
grid.reset(new Dune::CpGrid());
{
grdecl g = {};
GridManager::createGrdecl(deck, g);
grid->processEclipseFormat(g, 2e-12, false);
std::free(const_cast<double*>(g.mapaxes));
}
grid->processEclipseFormat(deck, false, false, false);
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
Opm::EclipseWriter outputWriter(param, eclipseState, pu,