mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixes StandardWell::allDrawDownWrongDirection for distributed wells.
This commit is contained in:
parent
a9c327b321
commit
12f5a6aaff
@ -1802,6 +1802,13 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto& comm = this->parallel_well_info_.communication();
|
||||||
|
if (comm.size() > 1)
|
||||||
|
{
|
||||||
|
all_drawdown_wrong_direction =
|
||||||
|
(comm.min(all_drawdown_wrong_direction ? 1 : 0) == 1);
|
||||||
|
}
|
||||||
|
|
||||||
return all_drawdown_wrong_direction;
|
return all_drawdown_wrong_direction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user