mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclGridManager: implement getIJK method here to make Cartesian identification complete.
This commit is contained in:
parent
779e7736d1
commit
2cfe491008
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user