#8371 Make sure all NNC faces are created and assigned

Make sure that the first cell in RigConnection is assigned the lowest cell index. Assign the opposite face if the cell indexes are swapped.
In RigCellFaceGeometryTools, test both combinations of (cellA, cellB) and (cellB, cellA)
This commit is contained in:
Magne Sjaastad
2021-12-16 11:52:04 +01:00
parent df37e30d8f
commit 0d213e659c
5 changed files with 58 additions and 25 deletions

View File

@@ -25,7 +25,7 @@ def test_10kSync(rips_instance, initialize_test):
)
nnc_connections = case.nnc_connections()
assert len(nnc_connections) == 3627
assert len(nnc_connections) == 3416
connection = nnc_connections[0]
assert connection.cell1.i == 33