Update comment

Cases with wells with no flow where crossflow is banned is handled in
the parser by shutting these wells. They will never be seen by the
simulator.
This commit is contained in:
Tor Harald Sandve 2015-10-08 12:26:11 +02:00
parent 0a5364a1d8
commit 16140c54fc

View File

@ -1051,7 +1051,6 @@ namespace detail {
// At least one of the perforation must be open in order to have a meeningful
// equation to solve. For the special case where all perforations have reverse flow,
// and the target rate is non-zero all of the perforations are keept open.
// TODO: Handle the case where all perfororations have reverse flow and the rate is zero
if (wells().type[w] == INJECTOR && numInjectingPerforations[w] > 0) {
selectProducingPerforations[perf] = 0.0;
} else if (wells().type[w] == PRODUCER && numProducingPerforations[w] > 0 ){