mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1702 Faults: Remove artificial faults caused by gaps in grid
This commit is contained in:
parent
66af820acd
commit
e5cab39a7f
@ -280,7 +280,10 @@ void RigMainGrid::calculateFaults(const RigActiveCellInfo* activeCellInfo)
|
|||||||
bool firstNO_FAULTFaceForCell = true;
|
bool firstNO_FAULTFaceForCell = true;
|
||||||
bool isCellActive = 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);
|
cvf::StructGridInterface::FaceType face = cvf::StructGridInterface::FaceType(faceIdx);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user