mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Set wd.allowCrossFlow directly
This commit is contained in:
parent
cf35ecbb05
commit
da44c2cfd6
@ -248,11 +248,7 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
|
|||||||
else
|
else
|
||||||
wd.type = PRODUCER;
|
wd.type = PRODUCER;
|
||||||
|
|
||||||
if (well->getAllowCrossFlow()) {
|
wd.allowCrossFlow = well->getAllowCrossFlow();
|
||||||
wd.allowCrossFlow = true;
|
|
||||||
} else {
|
|
||||||
wd.allowCrossFlow = false;
|
|
||||||
}
|
|
||||||
well_data.push_back(wd);
|
well_data.push_back(wd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user