Skip to content

Commit 4055011

Browse files
committed
Merge branch 'feature_scalarbase' of https://github.com/su2code/SU2 into feature_scalarbase
2 parents 2d45f9c + 7cc2e8d commit 4055011

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

SU2_CFD/include/variables/CScalarVariable.hpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* \file CScalarVariable.hpp
3-
* \brief Base class for defining the variables of the turbulence model.
3+
* \brief Base class for defining the shared variables of scalar solvers.
44
* \author F. Palacios, T. Economon
55
* \version 7.2.0 "Blackbird"
66
*
@@ -31,9 +31,7 @@
3131

3232
/*!
3333
* \class CScalarVariable
34-
* \brief Base class for defining the variables of the turbulence model.
35-
* \ingroup Turbulence_Model
36-
* \author A. Bueno.
34+
* \brief Base class for defining the shared variables of scalar solvers.
3735
*/
3836
class CScalarVariable : public CVariable {
3937
protected:
@@ -81,13 +79,13 @@ class CScalarVariable : public CVariable {
8179
* \param[in] iVar - Index of the variable.
8280
* \param[in] source - Value of the harmonic balance source term. for the index <i>iVar</i>.
8381
*/
84-
inline void SetHarmonicBalance_Source(unsigned long iPoint, unsigned long iVar, su2double source) override { HB_Source(iPoint,iVar) = source; }
82+
inline void SetHarmonicBalance_Source(unsigned long iPoint, unsigned long iVar, su2double source) final { HB_Source(iPoint,iVar) = source; }
8583

8684
/*!
8785
* \brief Get the harmonic balance source term.
8886
* \param[in] iPoint - Point index.
8987
* \param[in] iVar - Index of the variable.
9088
* \return Value of the harmonic balance source term for the index <i>val_var</i>.
9189
*/
92-
inline su2double GetHarmonicBalance_Source(unsigned long iPoint, unsigned long iVar) const override { return HB_Source(iPoint,iVar); }
90+
inline su2double GetHarmonicBalance_Source(unsigned long iPoint, unsigned long iVar) const final { return HB_Source(iPoint,iVar); }
9391
};

0 commit comments

Comments
 (0)