Skip to content

Commit 32bad7a

Browse files
committed
Remove unused variable.
1 parent 009c689 commit 32bad7a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SU2_CFD/include/solvers/CDiscAdjSolver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class CDiscAdjSolver final : public CSolver {
5757
su2double Total_Sens_BPress; /*!< \brief Total sensitivity to outlet pressure. */
5858
su2double Total_Sens_Density; /*!< \brief Total sensitivity to initial density (incompressible). */
5959
su2double Total_Sens_ModVel; /*!< \brief Total sensitivity to inlet velocity (incompressible). */
60-
su2double Mach, Alpha, Beta, Pressure, Temperature, BPressure, ModVel;
60+
su2double Mach, Alpha, Beta, Temperature, BPressure, ModVel;
6161
su2double TemperatureRad, Total_Sens_Temp_Rad;
6262

6363
CDiscAdjVariable* nodes = nullptr; /*!< \brief The highest level in the variable hierarchy this solver can safely use. */

SU2_CFD/src/solvers/CDiscAdjSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ void CDiscAdjSolver::RegisterVariables(CGeometry *geometry, CConfig *config, boo
184184
Alpha = config->GetAoA()*PI_NUMBER/180.0;
185185
Beta = config->GetAoS()*PI_NUMBER/180.0;
186186
Mach = config->GetMach();
187-
/*--- Pressure and Temperature values are accessed directly by the solver,
188-
* so we register the value in the config file. ---*/
187+
/*--- Pressure and Temperature can be registered directly via their config file value
188+
* (no further treatment required here). ---*/
189189
su2double& Pressure = config->GetPressure_FreeStreamND();
190190
su2double& Temperature = config->GetTemperature_FreeStreamND();
191191

0 commit comments

Comments
 (0)