Faults: Readded geometry fault generation

This commit is contained in:
Jacob Støren
2013-12-17 13:27:22 +01:00
parent 344ac7a146
commit 1639240240

View File

@@ -290,6 +290,9 @@ void RigMainGrid::calculateFaults()
faultsPrCellAcc->setFaultIdx(gcIdx, face, unNamedFaultIdx);
faultsPrCellAcc->setFaultIdx(neighborGlobalCellIdx, StructGridInterface::oppositeFace(face), unNamedFaultIdx);
m_cells[gcIdx].setCellFaceFault(face);
m_cells[neighborGlobalCellIdx].setCellFaceFault(StructGridInterface::oppositeFace(face));
// Add as fault face only if the grid index is less than the neighbors
if (gcIdx < neighborGlobalCellIdx)