@@ -287,14 +287,6 @@ class CVariable {
287287 Solution_time_n1 (iPoint,iVar) = val_sol;
288288 }
289289
290- /* !
291- * \brief Set to zero the velocity components of the solution.
292- * \param[in] iPoint - Point index.
293- */
294- inline void SetVelSolutionZero (unsigned long iPoint) {
295- for (unsigned long iDim = 0 ; iDim < nDim; iDim++) Solution (iPoint,iDim+1 ) = 0.0 ;
296- }
297-
298290 /* !
299291 * \brief Virtual Member. Specify a vector to set the velocity components of the solution.
300292 * Multiplied by density for compressible cases.
@@ -303,14 +295,6 @@ class CVariable {
303295 */
304296 inline virtual void SetVelSolutionVector (unsigned long iPoint, const su2double *val_vector) { }
305297
306- /* !
307- * \brief Set to zero velocity components of the solution.
308- * \param[in] iPoint - Point index.
309- */
310- inline void SetVelSolutionOldZero (unsigned long iPoint) {
311- for (unsigned long iDim = 0 ; iDim < nDim; iDim++) Solution_Old (iPoint, iDim+1 ) = 0.0 ;
312- }
313-
314298 /* !
315299 * \brief Add a value to the solution.
316300 * \param[in] iPoint - Point index.
@@ -510,12 +494,6 @@ class CVariable {
510494 for (unsigned long iVar = 0 ; iVar < nVar; iVar++) Residual_Sum (iPoint,iVar) = 0.0 ;
511495 }
512496
513- /* !
514- * \brief Set the velocity of the truncation error to zero.
515- * \param[in] iPoint - Point index.
516- */
517- inline virtual void SetVel_ResTruncError_Zero (unsigned long iPoint, unsigned long iSpecies) {}
518-
519497 /* !
520498 * \brief Get the value of the summed residual.
521499 * \param[in] iPoint - Point index.
@@ -661,12 +639,10 @@ class CVariable {
661639 inline void SetVal_ResTruncError_Zero (unsigned long iPoint, unsigned long iVar) {Res_TruncError (iPoint, iVar) = 0.0 ;}
662640
663641 /* !
664- * \brief Set the velocity of the truncation error to zero.
642+ * \brief Set the momentum part of the truncation error to zero.
665643 * \param[in] iPoint - Point index.
666644 */
667- inline void SetVel_ResTruncError_Zero (unsigned long iPoint) {
668- for (unsigned long iDim = 0 ; iDim < nDim; iDim++) Res_TruncError (iPoint,iDim+1 ) = 0.0 ;
669- }
645+ inline virtual void SetVel_ResTruncError_Zero (unsigned long iPoint) { }
670646
671647 /* !
672648 * \brief Set the velocity of the truncation error to zero.
0 commit comments