mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Remove compiler warnings
This commit is contained in:
parent
1d8e31fe91
commit
726f5ee596
@ -203,7 +203,7 @@ public:
|
||||
|
||||
std::array<FaceType, 4> adjacentFaces(FaceType face)
|
||||
{
|
||||
std::array<FaceType, 4> clipFaces;
|
||||
std::array<FaceType, 4> clipFaces = {FaceType::NO_FACE, FaceType::NO_FACE, FaceType::NO_FACE, FaceType::NO_FACE} ;
|
||||
FaceType oppFace = cvf::StructGridInterface::oppositeFace(face);
|
||||
int clipFaceCount = 0;
|
||||
for (int faceCand = 0; faceCand < 6; ++faceCand )
|
||||
|
@ -125,6 +125,8 @@ bool RigCell::isLongPyramidCell(double maxHeightFactor, double nodeNearTolerance
|
||||
if (zeroLengthEdgeCount == 3)
|
||||
{
|
||||
return true;
|
||||
|
||||
#if 0 // More advanced checks turned off since the start. Why did I do that ?
|
||||
// Collapse of a complete face is detected. This is possibly the top of a pyramid
|
||||
|
||||
// "face" has the index to the collapsed face. We need the size of the opposite face
|
||||
@ -193,6 +195,7 @@ bool RigCell::isLongPyramidCell(double maxHeightFactor, double nodeNearTolerance
|
||||
return true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Check the ratio of the length of opposite edges.
|
||||
|
Loading…
Reference in New Issue
Block a user