Skip to content

Commit eb21853

Browse files
authored
Apply suggestions from code review
1 parent 7331adb commit eb21853

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Common/include/CConfig.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5977,7 +5977,7 @@ class CConfig {
59775977
* \param[in] iDim - spatial component
59785978
* \param[in] val - Rotational velocity
59795979
*/
5980-
void SetMarkerRotation_Rate(unsigned short iMarkerMoving, unsigned short iDim, su2double val) {
5980+
void SetMarkerRotationRate(unsigned short iMarkerMoving, unsigned short iDim, su2double val) {
59815981
MarkerRotation_Rate[3 * iMarkerMoving + iDim] = val;
59825982
}
59835983

SU2_CFD/src/python_wrapper_structure.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,17 @@ void CDriver::SetRotationRate(passivedouble rot_x, passivedouble rot_y, passived
169169

170170
void CDriver::SetMarkerRotationRate(unsigned short iMarker, passivedouble rot_x, passivedouble rot_y, passivedouble rot_z) {
171171
for (iZone = 0; iZone < nZone; iZone++) {
172-
config_container[iZone]->SetMarkerRotation_Rate(iMarker, 0, rot_x);
173-
config_container[iZone]->SetMarkerRotation_Rate(iMarker, 1, rot_y);
174-
config_container[iZone]->SetMarkerRotation_Rate(iMarker, 2, rot_z);
172+
config_container[iZone]->SetMarkerRotationRate(iMarker, 0, rot_x);
173+
config_container[iZone]->SetMarkerRotationRate(iMarker, 1, rot_y);
174+
config_container[iZone]->SetMarkerRotationRate(iMarker, 2, rot_z);
175175
}
176176
}
177177

178178
void CDriver::SetMarkerTranslationRate(unsigned short iMarker, passivedouble vel_x, passivedouble vel_y, passivedouble vel_z) {
179179
for (iZone = 0; iZone < nZone; iZone++) {
180-
config_container[iZone]->SetMarkerTranslation_Rate(iMarker, 0, vel_x);
181-
config_container[iZone]->SetMarkerTranslation_Rate(iMarker, 1, vel_y);
182-
config_container[iZone]->SetMarkerTranslation_Rate(iMarker, 2, vel_z);
180+
config_container[iZone]->SetMarkerTranslationRate(iMarker, 0, vel_x);
181+
config_container[iZone]->SetMarkerTranslationRate(iMarker, 1, vel_y);
182+
config_container[iZone]->SetMarkerTranslationRate(iMarker, 2, vel_z);
183183
}
184184
}
185185

0 commit comments

Comments
 (0)