mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix mpi for MULTIPLY TRANX in EDIT
This commit is contained in:
parent
59aee6c56c
commit
42702e1d50
@ -853,8 +853,7 @@ createTransmissibilityArrays_(const std::array<bool,3>& is_tran)
|
||||
unsigned c2 = elemMapper.index(intersection.outside());
|
||||
int gc1 = cartMapper_.cartesianIndex(c1);
|
||||
int gc2 = cartMapper_.cartesianIndex(c2);
|
||||
|
||||
if (c1 > c2)
|
||||
if (std::tie(gc1, c1) > std::tie(gc2, c2))
|
||||
continue; // we only need to handle each connection once, thank you.
|
||||
|
||||
auto isID = details::isId(c1, c2);
|
||||
@ -917,7 +916,7 @@ resetTransmissibilityFromArrays_(const std::array<bool,3>& is_tran,
|
||||
unsigned c2 = elemMapper.index(intersection.outside());
|
||||
int gc1 = cartMapper_.cartesianIndex(c1);
|
||||
int gc2 = cartMapper_.cartesianIndex(c2);
|
||||
if (c1 > c2)
|
||||
if (std::tie(gc1, c1) > std::tie(gc2, c2))
|
||||
continue; // we only need to handle each connection once, thank you.
|
||||
|
||||
auto isID = details::isId(c1, c2);
|
||||
|
Loading…
Reference in New Issue
Block a user