Merge pull request #536 from andlaus/EclipseWriter_dont_restrict_pressure

EclipseWriter: don't convert the pressure field to active cells
This commit is contained in:
Atgeirr Flø Rasmussen
2014-03-21 08:59:41 +01:00

View File

@@ -1405,7 +1405,6 @@ void EclipseWriter::writeSolution_(const SimulatorTimer& timer,
// thinkable, but this is also not in the most performance // thinkable, but this is also not in the most performance
// critical code path! // critical code path!
std::vector<double> tmp = reservoirState.pressure(); std::vector<double> tmp = reservoirState.pressure();
restrictToActiveCells_(tmp, *grid_);
convertUnit_(tmp, toBar); convertUnit_(tmp, toBar);
sol.add(EclipseKeyword<float>("PRESSURE", tmp)); sol.add(EclipseKeyword<float>("PRESSURE", tmp));