EclGridManager: implement getIJK method here to make Cartesian identification complete.

This commit is contained in:
Robert K 2015-01-20 13:19:50 +01:00
parent 779e7736d1
commit 2cfe491008

View File

@ -822,7 +822,8 @@ private:
void readInitialCondition_() void readInitialCondition_()
{ {
const auto deck = this->simulator().gridManager().deck(); const auto deck = this->simulator().gridManager().deck();
const auto &cartesianCellId = this->simulator().gridManager().cartesianCellId(); const auto &gridManager = this->simulator().gridManager();
const auto &cartesianCellId = gridManager.cartesianCellId();
if (!deck->hasKeyword("SWAT") || if (!deck->hasKeyword("SWAT") ||
!deck->hasKeyword("SGAS")) !deck->hasKeyword("SGAS"))
@ -928,7 +929,7 @@ private:
if (RsReal > RsSat) { if (RsReal > RsSat) {
std::array<int, 3> ijk; std::array<int, 3> ijk;
// grid.getIJK(dofIdx, ijk); gridManager.getIJK(dofIdx, ijk);
std::cerr << "Warning: The specified amount gas (R_s = " << RsReal << ") is more" std::cerr << "Warning: The specified amount gas (R_s = " << RsReal << ") is more"
<< " than the maximium\n" << " than the maximium\n"
<< " amount which can be dissolved in oil" << " amount which can be dissolved in oil"