Skip to content

Commit d882e5d

Browse files
author
rois1995
committed
- pre-commit fixes
1 parent a2b3693 commit d882e5d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Common/include/geometry/CPhysicalGeometry.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,7 @@ class CPhysicalGeometry final : public CGeometry {
814814
/*!
815815
* \brief Set wall distance of i-th point to a specific value
816816
*/
817-
void SetWallDistance(unsigned long iPoint, su2double val) override {
818-
nodes->SetWall_Distance(iPoint, val);
819-
}
817+
void SetWallDistance(unsigned long iPoint, su2double val) override { nodes->SetWall_Distance(iPoint, val); }
820818

821819
/*!
822820
* \brief For streamwise periodicity, find & store a unique reference node on the designated periodic inlet.

Common/src/geometry/CGeometry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4119,7 +4119,7 @@ void CGeometry::ComputeWallDistance(const CConfig* const* config_container, CGeo
41194119
* This is necessary, because before a computed distance is set, it will be checked
41204120
* whether the new distance is smaller than the currently stored one. ---*/
41214121
CGeometry* geometry = geometry_container[iZone][iInst][MESH_0];
4122-
if (wallDistanceNeeded[iZone]){
4122+
if (wallDistanceNeeded[iZone]) {
41234123
geometry->SetWallDistance(numeric_limits<su2double>::max());
41244124

41254125
const auto nMarker = geometry->GetnMarker();
@@ -4132,7 +4132,7 @@ void CGeometry::ComputeWallDistance(const CConfig* const* config_container, CGeo
41324132
geometry->SetWallDistance(iPoint, 0.0);
41334133
}
41344134
}
4135-
}
4135+
}
41364136
}
41374137

41384138
/*--- Loop over all zones and compute the ADT based on the viscous walls in that zone ---*/

0 commit comments

Comments
 (0)