Merge pull request #1109 from jokva/get-ref-depth-timestep

Ask for reference depth at timestep.
This commit is contained in:
Joakim Hove 2016-11-22 23:12:34 +01:00 committed by GitHub
commit 647e005297

View File

@ -235,7 +235,7 @@ void WellsManager::createWellsFromSpecs(std::vector<const Well*>& wells, size_t
well_names.push_back(well->name());
{
WellData wd;
wd.reference_bhp_depth = well->getRefDepth();
wd.reference_bhp_depth = well->getRefDepth( timeStep );
wd.welspecsline = -1;
if (well->isInjector( timeStep ))
wd.type = INJECTOR;