File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
SU2_CFD/include/variables Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,14 @@ class CTurbVariable : public CScalarVariable {
108108 * \param[in] iPoint - Point index.
109109 * \return the value of the desired grid size for Scale Resolving Simulations.
110110 */
111- inline su2double GetSRSGridSize (unsigned long iPoint) const { return SRSGridSize (iPoint); }
111+ inline su2double GetSRSGridSize (unsigned long iPoint) const final { return SRSGridSize (iPoint); }
112112
113113 /* !
114114 * \brief Set the value of the desired grid size for Scale Resolving Simulations.
115115 * \param[in] iPoint - Point index.
116116 * \param[in] val_muT - Value of the desired grid size for Scale Resolving Simulations.
117117 */
118- inline void SetSRSGridSize (unsigned long iPoint, su2double val_gridSize) { SRSGridSize (iPoint) = val_gridSize; }
118+ inline void SetSRSGridSize (unsigned long iPoint, su2double val_gridSize) final { SRSGridSize (iPoint) = val_gridSize; }
119119
120120 /* !
121121 * \brief Get the DES length scale
Original file line number Diff line number Diff line change @@ -1721,6 +1721,18 @@ class CVariable {
17211721 */
17221722 inline virtual void SetmuT (unsigned long iPoint, su2double val_muT) {}
17231723
1724+ /* !
1725+ * \brief Get the value of the desired grid size for Scale Resolving Simulations.
1726+ * \return the value of the desired grid size for Scale Resolving Simulations.
1727+ */
1728+ inline virtual su2double GetSRSGridSize (unsigned long iPoint) const { return 0.0 ; }
1729+
1730+ /* !
1731+ * \brief Set the value of the desired grid size for Scale Resolving Simulations.
1732+ * \param[in] val_gridSize
1733+ */
1734+ inline virtual void SetSRSGridSize (unsigned long iPoint, su2double val_gridSize) {}
1735+
17241736 /* !
17251737 * \brief Set the value of the turbulence index.
17261738 * \param[in] val_turb_index - turbulence index
You can’t perform that action at this time.
0 commit comments