Skip to content

Commit 6a659d7

Browse files
committed
Result of running pre-commit
1 parent 8b39e5c commit 6a659d7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Common/src/geometry/meshreader/CCGNSMeshReaderFEM.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ void CCGNSMeshReaderFEM::ReadCGNSSurfaceSection(const int val_section, const vec
318318

319319
case QUADRILATERAL:
320320
thisFace.nCornerPoints = 4;
321-
thisFace.cornerPoints[2] = static_cast<unsigned long> (nPolyGrid)
322-
* nDOFEdgeGrid;
321+
thisFace.cornerPoints[2] = static_cast<unsigned long>(nPolyGrid) * nDOFEdgeGrid;
323322
thisFace.cornerPoints[3] = nDOFsGrid - 1;
324323
break;
325324

Common/src/geometry/meshreader/CSU2ASCIIMeshReaderFEM.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ void CSU2ASCIIMeshReaderFEM::ReadSurfaceElementConnectivity() {
306306
case QUADRILATERAL:
307307
nDOFsGrid = nDOFEdgeGrid * nDOFEdgeGrid;
308308
thisFace.nCornerPoints = 4;
309-
thisFace.cornerPoints[2] = static_cast<unsigned long>(nPolyGrid)
310-
* nDOFEdgeGrid;
309+
thisFace.cornerPoints[2] = static_cast<unsigned long>(nPolyGrid) * nDOFEdgeGrid;
311310
thisFace.cornerPoints[3] = nDOFsGrid - 1;
312311
break;
313312

0 commit comments

Comments
 (0)