mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added more clang-tidy checks
Improved GitHub Action to run clang-format as part of clang-tidy * Simplify clang-tidy workflow * Added modernize-use-using, modernize-redundant-void-arg, readability-static-accessed-through-instance * Add nolint for libecl typedefs
This commit is contained in:
@@ -241,7 +241,7 @@ void RimGridCaseSurface::extractStructuredSurfaceFromGridData()
|
||||
grid->cellCornerVertices( cellIndex, cornerVerts );
|
||||
|
||||
cvf::ubyte faceConn[4];
|
||||
grid->cellFaceVertexIndices( faceType, faceConn );
|
||||
RigMainGrid::cellFaceVertexIndices( faceType, faceConn );
|
||||
|
||||
structGridVertexIndices.emplace_back( static_cast<cvf::uint>( column + 1 ), static_cast<cvf::uint>( row + 1 ) );
|
||||
|
||||
@@ -312,7 +312,7 @@ void RimGridCaseSurface::extractGridDataUsingFourVerticesPerCell()
|
||||
{
|
||||
cvf::ubyte currentFaceConn[4];
|
||||
grid->cellCornerVertices( currentCellIndex, currentCornerVerts );
|
||||
grid->cellFaceVertexIndices( extractionFace, currentFaceConn );
|
||||
RigMainGrid::cellFaceVertexIndices( extractionFace, currentFaceConn );
|
||||
|
||||
auto currentCellStartIndex = static_cast<unsigned>( vertices.size() );
|
||||
|
||||
@@ -378,13 +378,13 @@ void RimGridCaseSurface::addGeometryForFaultFaces( const RigMainGrid*
|
||||
|
||||
auto startIndex = static_cast<unsigned>( vertices.size() );
|
||||
{
|
||||
auto edgeVertexIndices = grid->edgeVertexIndices( extractionFace, faultFace );
|
||||
auto edgeVertexIndices = RigMainGrid::edgeVertexIndices( extractionFace, faultFace );
|
||||
vertices.push_back( currentCornerVerts[edgeVertexIndices.first] );
|
||||
vertices.push_back( currentCornerVerts[edgeVertexIndices.second] );
|
||||
}
|
||||
{
|
||||
auto oppositeFaultFace = cvf::StructGridInterface::oppositeFace( faultFace );
|
||||
auto edgeVertexIndices = grid->edgeVertexIndices( extractionFace, oppositeFaultFace );
|
||||
auto edgeVertexIndices = RigMainGrid::edgeVertexIndices( extractionFace, oppositeFaultFace );
|
||||
vertices.push_back( nextCellCornerVerts[edgeVertexIndices.first] );
|
||||
vertices.push_back( nextCellCornerVerts[edgeVertexIndices.second] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user