From 82658f723d17e8ad9995a6f229a5eee7224750fb Mon Sep 17 00:00:00 2001 From: bigfooted Date: Mon, 20 Jan 2025 16:32:21 +0100 Subject: [PATCH] remove unused functions --- SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp | 8 -------- SU2_CFD/include/solvers/CFVMFlowSolverBase.inl | 5 ----- SU2_CFD/include/solvers/CSolver.hpp | 8 -------- 3 files changed, 21 deletions(-) diff --git a/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp b/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp index d5ed37c1848..2aa31880bae 100644 --- a/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp +++ b/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp @@ -2419,14 +2419,6 @@ class CFVMFlowSolverBase : public CSolver { return YPlus[val_marker][val_vertex]; } - /*! - * \brief Set the y plus. - * \param[in] val_yplus - new value of yplus - */ - inline void SetYPlus(su2double val_yplus, unsigned short val_marker, unsigned long val_vertex) final { - YPlus[val_marker][val_vertex] = val_yplus; - } - /*! * \brief Get the u_tau . * \param[in] val_marker - Surface marker where the coefficient is computed. diff --git a/SU2_CFD/include/solvers/CFVMFlowSolverBase.inl b/SU2_CFD/include/solvers/CFVMFlowSolverBase.inl index 6db04c40111..d859b0742c6 100644 --- a/SU2_CFD/include/solvers/CFVMFlowSolverBase.inl +++ b/SU2_CFD/include/solvers/CFVMFlowSolverBase.inl @@ -2502,11 +2502,6 @@ void CFVMFlowSolverBase::Friction_Forces(const CGeometry* geometr iPointNormal = geometry->vertex[iMarker][iVertex]->GetNormal_Neighbor(); Coord_Normal = geometry->nodes->GetCoord(iPointNormal); WallDistMod = GeometryToolbox::Distance(nDim, Coord, Coord_Normal); - //nijso: we can modifiy y+ as well now? - - - - YPlus[iMarker][iVertex] = WallDistMod * FrictionVel / (Viscosity / Density); } diff --git a/SU2_CFD/include/solvers/CSolver.hpp b/SU2_CFD/include/solvers/CSolver.hpp index 343c2fec26a..2ed78a78a9b 100644 --- a/SU2_CFD/include/solvers/CSolver.hpp +++ b/SU2_CFD/include/solvers/CSolver.hpp @@ -2989,14 +2989,6 @@ class CSolver { */ inline virtual su2double GetYPlus(unsigned short val_marker, unsigned long val_vertex) const { return 0; } - /*! - * \brief A virtual member. - * \param[in] val_marker - Surface marker where the coefficient is computed. - * \param[in] val_vertex - Vertex of the marker val_marker where the coefficient is evaluated. - * \return Value of the y plus. - */ - inline virtual void SetYPlus(su2double val_yplus, unsigned short val_marker, unsigned long val_vertex) {}; - /*! * \brief A virtual member. * \param[in] val_marker - Surface marker where the coefficient is computed.