Skip to content

Commit

Permalink
clang-format error
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfooted committed Dec 7, 2024
1 parent a4946c3 commit 40119af
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Common/src/geometry/CPhysicalGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7009,9 +7009,9 @@ void CPhysicalGeometry::FindUniqueNode_PeriodicBound(const CConfig* config) {
* ---*/
}
break; // Actually no more than one streamwise periodic marker pair is allowed
} // receiver conditional
} // periodic conditional
} // marker loop
} // receiver conditional
} // periodic conditional
} // marker loop

/*--- Copy the Coordinates and norm into send buffer. ---*/
for (unsigned short iDim = 0; iDim < nDim; iDim++) Buffer_Send_RefNode[iDim] = nodes->GetCoord(iPointMin, iDim);
Expand Down Expand Up @@ -8105,7 +8105,7 @@ void CPhysicalGeometry::FindNormal_Neighbor(const CConfig* config) {

/*--- Compute closest normal neighbor, note that the normal are oriented inwards ---*/
Point_Normal = 0;
cos_max = -1.0;
cos_max = -2.0;
for (iNeigh = 0; iNeigh < nodes->GetnPoint(iPoint); iNeigh++) {
jPoint = nodes->GetPoint(iPoint, iNeigh);
scalar_prod = 0.0;
Expand All @@ -8123,8 +8123,9 @@ void CPhysicalGeometry::FindNormal_Neighbor(const CConfig* config) {

/*--- Get maximum cosine ---*/
if (cos_alpha >= cos_max) {
Point_Normal = jPoint;
cos_max = cos_alpha;
if ((!nodes->GetViscousBoundary(iPoint)) || ((nodes->GetViscousBoundary(iPoint)) && (cos_max < -1.0)))
Point_Normal = jPoint;
if (!nodes->GetViscousBoundary(iPoint)) cos_max = cos_alpha;
}
}
vertex[iMarker][iVertex]->SetNormal_Neighbor(Point_Normal);
Expand Down

0 comments on commit 40119af

Please sign in to comment.