#1702 Faults: Remove artificial faults caused by gaps in grid

This commit is contained in:
Rebecca Cox 2017-10-19 12:54:44 +02:00
parent 66af820acd
commit e5cab39a7f

View File

@ -280,7 +280,10 @@ void RigMainGrid::calculateFaults(const RigActiveCellInfo* activeCellInfo)
bool firstNO_FAULTFaceForCell = true;
bool isCellActive = true;
for (char faceIdx = 0; faceIdx < 6; ++faceIdx)
char upperLimitForFaceType = cvf::StructGridInterface::FaceType::POS_K;
// Compare only I and J faces
for (char faceIdx = 0; faceIdx < upperLimitForFaceType; ++faceIdx)
{
cvf::StructGridInterface::FaceType face = cvf::StructGridInterface::FaceType(faceIdx);