Renamed well->InjectionRate to SurfaceInjectionRate.

This commit is contained in:
Joakim Hove
2014-01-24 12:36:45 +01:00
parent 6229fd1250
commit 1cc38786dc
5 changed files with 23 additions and 23 deletions

View File

@@ -190,7 +190,7 @@ namespace Opm {
WellPtr well = getWell(wellName);
double injectionRate = record->getItem("SURFACE_FLOW_TARGET")->getSIDouble(0);
well->setInjectionRate( currentStep , injectionRate );
well->setSurfaceInjectionRate( currentStep , injectionRate );
well->setInPredictionMode(currentStep, true);
}
}
@@ -202,7 +202,7 @@ namespace Opm {
WellPtr well = getWell(wellName);
double injectionRate = record->getItem("RATE")->getSIDouble(0);
well->setInjectionRate( currentStep , injectionRate );
well->setSurfaceInjectionRate( currentStep , injectionRate );
well->setInPredictionMode(currentStep, false );
}
}