Skip to content

Commit eef893e

Browse files
authored
Apply suggestions from code review
1 parent 1575510 commit eef893e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25872587

25882588
FrictionVel = sqrt(fabs(WallShearStress[iMarker][iVertex]) / Density);
25892589

2590-
if (!wallfunctions && geometry->nodes->GetDomain(iPoint)) {
2590+
if (!wallfunctions && (MGLevel == MESH_0 || geometry->nodes->GetDomain(iPoint))) {
25912591
// for CMultiGridGeometry, the normal neighbor of halo nodes in not set
25922592
iPointNormal = geometry->vertex[iMarker][iVertex]->GetNormal_Neighbor();
25932593
Coord_Normal = geometry->nodes->GetCoord(iPointNormal);

0 commit comments

Comments
 (0)