Skip to content

Commit cb37bac

Browse files
authored
Apply suggestions from code review
1 parent ca0b4b6 commit cb37bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
24982498
FrictionVel = sqrt(fabs(WallShearStress[iMarker][iVertex]) / Density);
24992499

25002500
if (!wallfunctions && MGLevel == MESH_0 && geometry->nodes->GetDomain(iPoint)) {
2501-
// for CMultiGridGeometry, the normal neighbor of halo nodes is not set
2501+
// for CMultiGridGeometry and halos, the nearest neighbor distance is not set
25022502
const su2double WallDistMod = geometry->vertex[iMarker][iVertex]->GetNearestNeighborDistance();
25032503
YPlus[iMarker][iVertex] = WallDistMod * FrictionVel / (Viscosity / Density);
25042504
}

0 commit comments

Comments
 (0)