mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
This fixes a cutpaste error in the Geomech IJK assignment.
It might fix (#309)
This commit is contained in:
parent
8b801bac50
commit
f8dc3b4b81
@ -188,8 +188,8 @@ int RigFemPartGrid::findElmIdxForIJK000()
|
||||
cvf::Vec3i ijkMainFaceIndices = findMainIJKFaces(elmIdx);
|
||||
|
||||
if ( m_femPart->elementNeighbor(elmIdx, ijkMainFaceIndices[0]) != -1
|
||||
&& m_femPart->elementNeighbor(elmIdx, ijkMainFaceIndices[0]) != -1
|
||||
&& m_femPart->elementNeighbor(elmIdx, ijkMainFaceIndices[0]) != -1 )
|
||||
&& m_femPart->elementNeighbor(elmIdx, ijkMainFaceIndices[1]) != -1
|
||||
&& m_femPart->elementNeighbor(elmIdx, ijkMainFaceIndices[2]) != -1 )
|
||||
{
|
||||
return elmIdx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user