mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #776 from qilicun/debug-polymer
fix polymer in flow bug.
This commit is contained in:
commit
5581771917
@ -72,6 +72,7 @@ namespace Opm
|
||||
{
|
||||
ScheduleConstPtr schedule = eclipseState->getSchedule();
|
||||
for (const auto& well : schedule->getWells(currentStep)) {
|
||||
if (well->isInjector(currentStep)) {
|
||||
WellInjectionProperties injection = well->getInjectionProperties(currentStep);
|
||||
if (injection.injectorType == WellInjector::WATER) {
|
||||
WellPolymerProperties polymer = well->getPolymerProperties(currentStep);
|
||||
@ -81,6 +82,7 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Constructor.
|
||||
/// @param[in] deck Input deck expected to contain WPOLYMER.
|
||||
|
Loading…
Reference in New Issue
Block a user