Skip to content

Commit c14d783

Browse files
authored
Apply suggestions from code review
1 parent 8331045 commit c14d783

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

SU2_CFD/src/iteration/CIteration.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ void CIteration::SetGrid_Movement(CGeometry** geometry, CSurfaceMovement* surfac
6666

6767
if (rank == MASTER_NODE) cout << "\n Setting translational grid velocities." << endl;
6868

69-
/*--- Set the translational velocity on all grid levels. ---*/
69+
/*--- Set the translational velocity on all grid levels. ---*/
7070

71-
for (auto iMGlevel = 0u; iMGlevel <= config_container[ZONE_0]->GetnMGLevels(); iMGlevel++)
72-
geometry_container[iZone][INST_0][iMGlevel]->SetTranslationalVelocity(config, true);
71+
for (auto iMGlevel = 0u; iMGlevel <= config_container[ZONE_0]->GetnMGLevels(); iMGlevel++)
72+
geometry_container[iZone][INST_0][iMGlevel]->SetTranslationalVelocity(config, true);
7373

7474
break;
7575

@@ -79,13 +79,13 @@ void CIteration::SetGrid_Movement(CGeometry** geometry, CSurfaceMovement* surfac
7979

8080
if (rank == MASTER_NODE) cout << "\n Setting rotating frame grid velocities." << endl;
8181

82-
/*--- Set the grid velocities on all multigrid levels for a steadily
83-
rotating reference frame. ---*/
82+
/*--- Set the grid velocities on all multigrid levels for a steadily
83+
rotating reference frame. ---*/
8484

85-
for (auto iMGlevel = 0u; iMGlevel <= config_container[ZONE_0]->GetnMGLevels(); iMGlevel++){
86-
geometry[iMGlevel]->SetRotationalVelocity(config, true);
87-
geometry[iMGlevel]->SetShroudVelocity(config);
88-
}
85+
for (auto iMGlevel = 0u; iMGlevel <= config_container[ZONE_0]->GetnMGLevels(); iMGlevel++){
86+
geometry[iMGlevel]->SetRotationalVelocity(config, true);
87+
geometry[iMGlevel]->SetShroudVelocity(config);
88+
}
8989

9090
break;
9191
}

0 commit comments

Comments
 (0)