Skip to content

Commit 92cf538

Browse files
committed
clang-format
1 parent 583f249 commit 92cf538

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Common/include/CConfig.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5192,7 +5192,7 @@ class CConfig {
51925192
* \brief General interface for accessing ramp coefficient information
51935193
* \return coeff for ramps
51945194
*/
5195-
su2double GetRamp_Coeff(TURBO_RAMP_TYPE ramp_flag, TURBO_RAMP_COEFF val_coeff) {
5195+
su2double GetRamp_Coeff(TURBO_RAMP_TYPE ramp_flag, TURBO_RAMP_COEFF val_coeff) {
51965196
if (ramp_flag == TURBO_RAMP_TYPE::GRID) return rampMotionFrame_coeff[val_coeff];
51975197
else if (ramp_flag == TURBO_RAMP_TYPE::BOUNDARY) return rampOutlet_coeff[val_coeff];
51985198
else return 0;
@@ -6065,10 +6065,10 @@ class CConfig {
60656065

60666066
/*!
60676067
* \brief General interface for setting the rate of motion in grid ramps
6068-
* \param[in] ramp_flag - flag for type of ramp
6068+
* \param[in] ramp_flag - flag for type of ramp
60696069
* \param[in] val - new value of rate of motion
60706070
*/
6071-
void SetRate(su2double val) {
6071+
void SetRate(su2double val) {
60726072
if (RampRotatingFrame) Rotation_Rate[2] = val;
60736073
else if (RampTranslationFrame) Translation_Rate[1] = val;
60746074
};
@@ -6184,7 +6184,7 @@ class CConfig {
61846184
*/
61856185
void SetRotation_Rate_Z(su2double newRotation_Rate_Z);
61866186

6187-
su2double GetFinalValue(TURBO_RAMP_TYPE ramp_flag) {
6187+
su2double GetFinalValue(TURBO_RAMP_TYPE ramp_flag) {
61886188
if (ramp_flag == TURBO_RAMP_TYPE::GRID && RampRotatingFrame) return FinalRotation_Rate_Z;
61896189
else if (ramp_flag == TURBO_RAMP_TYPE::GRID && RampTranslationFrame) return FinalTranslation_Rate_Y;
61906190
else if (ramp_flag == TURBO_RAMP_TYPE::BOUNDARY && RampOutletPressure) return FinalOutletPressure;

Common/include/geometry/CGeometry.hpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -964,12 +964,14 @@ class CGeometry {
964964
/*!
965965
* \brief General interface for setting the velocity in the geometry during motion ramps
966966
* \param[in] config - config class
967-
* \param[in] ramp_flag - flag for type of ramp
967+
* \param[in] ramp_flag - flag for type of ramp
968968
* \param[in] print - bool to print update to screen
969-
*/
970-
void SetVelocity(CConfig* config, bool print) {
971-
if (config->GetKind_GridMovement() == ENUM_GRIDMOVEMENT::ROTATING_FRAME) SetRotationalVelocity(config, print);
972-
else if (config->GetKind_GridMovement() == ENUM_GRIDMOVEMENT::STEADY_TRANSLATION) SetTranslationalVelocity(config, print);
969+
*/
970+
void SetVelocity(CConfig* config, bool print) {
971+
if (config->GetKind_GridMovement() == ENUM_GRIDMOVEMENT::ROTATING_FRAME)
972+
SetRotationalVelocity(config, print);
973+
else if (config->GetKind_GridMovement() == ENUM_GRIDMOVEMENT::STEADY_TRANSLATION)
974+
SetTranslationalVelocity(config, print);
973975
};
974976

975977
/*!

0 commit comments

Comments
 (0)