Skip to content

Commit 8da85d1

Browse files
authored
Update CNumerics.hpp
Remove unused variables and modify Set_Intermittency() function.
1 parent b87aef1 commit 8da85d1

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

SU2_CFD/include/numerics/CNumerics.hpp

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ class CNumerics {
8282
turb_ke_i, /*!< \brief Turbulent kinetic energy at point i. */
8383
turb_ke_j; /*!< \brief Turbulent kinetic energy at point j. */
8484
su2double
85-
intermittency_sep_i, /*!< \brief separation intermittency at point i. */
86-
intermittency_sep_j, /*!< \brief separation intermittency at point j. */
87-
intermittency_eff_i, /*!< \brief effective intermittency at point i. */
88-
intermittency_eff_j; /*!< \brief effective intermittency at point j. */
85+
intermittency_sep_i; /*!< \brief separation intermittency at point i. */
8986
su2double
9087
Pressure_i, /*!< \brief Pressure at point i. */
9188
Pressure_j; /*!< \brief Pressure at point j. */
@@ -703,28 +700,15 @@ class CNumerics {
703700
*/
704701
virtual void SetCrossDiff(su2double val_CDkw_i) {/* empty */};
705702

706-
/*!
707-
* \brief Get the final separation intermittency for the LM model.
708-
*/
709-
inline su2double GetIntermittencySep() const { return intermittency_sep_i; }
710-
711703
/*!
712704
* \brief Set the value of the effective intermittency for the LM model.
713705
* \param[in] intermittency_eff_i - Value of the effective intermittency at point i.
714706
* \param[in] intermittency_eff_j - Value of the effective intermittency at point j.
715707
*/
716-
void SetIntermittencyEff(su2double val_intermittency_eff_i, su2double val_intermittency_eff_j) {
708+
void SetIntermittencyEff(su2double val_intermittency_eff_i) {
717709
intermittency_eff_i = val_intermittency_eff_i;
718-
intermittency_eff_j = val_intermittency_eff_j;
719710
};
720711

721-
/*!
722-
* \brief Set the value of the separation intermittency for the LM model.
723-
* \param[in] intermittency_eff_i - Value of the separation intermittency at point i.
724-
* \param[in] intermittency_eff_i - Value of the separation intermittency at point j.
725-
*/
726-
virtual void SetIntermittencySep(su2double intermittency_sep_i, su2double intermittency_sep_j) {/* empty */};
727-
728712
/*!
729713
* \brief Set the gradient of the auxiliary variables.
730714
* \param[in] val_auxvar_grad_i - Gradient of the auxiliary variable at point i.

0 commit comments

Comments
 (0)