Skip to content

Commit e6fef01

Browse files
committed
removing thermalconductivies member variable
Signed-off-by: jtneedels <jneedels@stanford.edu>
1 parent d10a6c3 commit e6fef01

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

SU2_CFD/include/variables/CNEMONSVariable.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ class CNEMONSVariable final : public CNEMOEulerVariable {
4242
VectorType Viscosity_Ref; /*!< \brief Reference viscosity of the fluid. */
4343
VectorType Viscosity_Inf; /*!< \brief Viscosity of the fluid at the infinity. */
4444
MatrixType DiffusionCoeff; /*!< \brief Diffusion coefficient of the mixture. */
45-
CVectorOfMatrix Dij; /*!< \brief Binary diffusion coefficients. */
45+
CVectorOfMatrix Dij; /*!< \brief Binary diffusion coefficients. */
4646
VectorType LaminarViscosity; /*!< \brief Viscosity of the fluid. */
4747
VectorType ThermalCond; /*!< \brief T-R thermal conductivity of the gas mixture. */
4848
VectorType ThermalCond_ve; /*!< \brief V-E thermal conductivity of the gas mixture. */
49-
vector<su2double> thermalconductivities; /*!< \brief Species thermal conductivities. */
50-
MatrixType Enthalpys; /*!< \brief Species enthalpies of the mixture. */
49+
MatrixType Enthalpys; /*!< \brief Species enthalpies of the mixture. */
5150

5251
su2double inv_TimeScale; /*!< \brief Inverse of the reference time scale. */
5352

SU2_CFD/src/variables/CNEMONSVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ bool CNEMONSVariable::SetPrimVar(unsigned long iPoint, CFluidModel *FluidModel)
113113

114114
LaminarViscosity(iPoint) = fluidmodel->GetViscosity();
115115

116-
thermalconductivities = fluidmodel->GetThermalConductivities();
116+
const auto& thermalconductivities = fluidmodel->GetThermalConductivities();
117117
ThermalCond(iPoint) = thermalconductivities[0];
118118
ThermalCond_ve(iPoint) = thermalconductivities[1];
119119

0 commit comments

Comments
 (0)