mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
Use direct deck-using version of grid construction method.
This commit is contained in:
parent
bb9f0ee1dd
commit
e35546070f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user