Removed Geometry faults toggle, and disabled calculation

This commit is contained in:
Jacob Støren 2013-12-19 10:13:55 +01:00
parent f13f91d74d
commit cf7de9d588
2 changed files with 4 additions and 3 deletions

View File

@ -66,6 +66,7 @@ RimFaultCollection::RimFaultCollection()
showFaultCollection.setUiHidden(true);
CAF_PDM_InitField(&showGeometryDetectedFaults, "ShowGeometryDetectedFaults", false, "Show geometry detected faults", "", "", "");
showGeometryDetectedFaults.setUiHidden(true);
CAF_PDM_InitField(&showFaultFaces, "ShowFaultFaces", true, "Show faults faces", "", "", "");
CAF_PDM_InitField(&showOppositeFaultFaces, "ShowOppositeFaultFaces", true, "Show opposite fault faces", "", "", "");

View File

@ -290,8 +290,8 @@ 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));
//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
@ -302,7 +302,7 @@ void RigMainGrid::calculateFaults()
}
else
{
CVF_FAIL_MSG("Found fault with global neighbour index less than the native index. "); // Should never occur. because we flag the opposite face in the faultsPrCellAcc
CVF_FAIL_MSG("Found fault with global neighbor index less than the native index. "); // Should never occur. because we flag the opposite face in the faultsPrCellAcc
}
}
}