Make a flow version that uses the polyhedreal grid

Currently the simulator creats the polyhedreal grid from an eclGrid from opm-common

TODO
 - make it possible to create the grid directly from DGF or MRST format
 - fix issue on norne.
This commit is contained in:
Tor Harald Sandve
2020-11-10 08:54:44 +01:00
parent fc3ce85be2
commit fbccdbf68e
8 changed files with 65 additions and 12 deletions

View File

@@ -427,7 +427,6 @@ public:
Opm::Action::State& actionState = simulator_.vanguard().actionState();
auto restartValues = loadParallelRestart(eclIO_.get(), actionState, summaryState, solutionKeys, extraKeys,
gridView.grid().comm());
for (unsigned elemIdx = 0; elemIdx < numElements; ++elemIdx) {
unsigned globalIdx = collectToIORank_.localIdxToGlobalIdx(elemIdx);
eclOutputModule_.setRestart(restartValues.solution, elemIdx, globalIdx);