Skip to content

Commit 8c71e6d

Browse files
committed
clang-format
1 parent 9863c1d commit 8c71e6d

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Common/src/geometry/CPhysicalGeometry.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7009,9 +7009,9 @@ void CPhysicalGeometry::FindUniqueNode_PeriodicBound(const CConfig* config) {
70097009
* ---*/
70107010
}
70117011
break; // Actually no more than one streamwise periodic marker pair is allowed
7012-
} // receiver conditional
7013-
} // periodic conditional
7014-
} // marker loop
7012+
} // receiver conditional
7013+
} // periodic conditional
7014+
} // marker loop
70157015

70167016
/*--- Copy the Coordinates and norm into send buffer. ---*/
70177017
for (unsigned short iDim = 0; iDim < nDim; iDim++) Buffer_Send_RefNode[iDim] = nodes->GetCoord(iPointMin, iDim);
@@ -8127,13 +8127,10 @@ void CPhysicalGeometry::FindNormal_Neighbor(const CConfig* config) {
81278127
/*--- Get maximum cosine ---*/
81288128
if (cos_alpha >= cos_max) {
81298129
/*--- If point is on the wall, only add it if Point_Normal was not set before. ---*/
8130-
if ( (!nodes->GetViscousBoundary(iPoint)) ||
8131-
(nodes->GetViscousBoundary(iPoint)) && (cos_max < -1.0)
8132-
)
8130+
if ((!nodes->GetViscousBoundary(iPoint)) || ((nodes->GetViscousBoundary(iPoint)) && (cos_max < -1.0)))
81338131
Point_Normal = jPoint;
81348132
/*--- Only set angle if it is not on a wall. */
8135-
if (!nodes->GetViscousBoundary(iPoint))
8136-
cos_max = cos_alpha;
8133+
if (!nodes->GetViscousBoundary(iPoint)) cos_max = cos_alpha;
81378134
}
81388135
}
81398136
vertex[iMarker][iVertex]->SetNormal_Neighbor(Point_Normal);

0 commit comments

Comments
 (0)