mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Ask for reference depth at timestep.
This commit is contained in:
parent
b026295376
commit
ccd38c0cf7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user