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:
parent
0e973f7108
commit
c7fe719825
@ -629,8 +629,7 @@ protected:
|
||||
Opm::WellConstPtr deckWell = deckWells[deckWellIdx];
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user