mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-17 19:33:00 -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 init
|
||||||
grid.reset(new Dune::CpGrid());
|
grid.reset(new Dune::CpGrid());
|
||||||
{
|
grid->processEclipseFormat(deck, false, false, false);
|
||||||
grdecl g = {};
|
|
||||||
GridManager::createGrdecl(deck, g);
|
|
||||||
|
|
||||||
grid->processEclipseFormat(g, 2e-12, false);
|
|
||||||
|
|
||||||
std::free(const_cast<double*>(g.mapaxes));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
||||||
Opm::EclipseWriter outputWriter(param, eclipseState, pu,
|
Opm::EclipseWriter outputWriter(param, eclipseState, pu,
|
||||||
|
Loading…
Reference in New Issue
Block a user