mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adapt to the recent removal of Well::getRefDepthDefaulted() in opm-parser
This commit is contained in:
@@ -629,8 +629,7 @@ protected:
|
|||||||
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
|
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
|
||||||
const std::string& wellName = deckWell->name();
|
const std::string& wellName = deckWell->name();
|
||||||
|
|
||||||
if (!deckWell->getRefDepthDefaulted())
|
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
|
||||||
wells_[wellIndex(wellName)]->setReferenceDepth(deckWell->getRefDepth());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// associate the well completions with grid cells and register them in the
|
// associate the well completions with grid cells and register them in the
|
||||||
|
|||||||
Reference in New Issue
Block a user