Skip to content

Commit 98c89d0

Browse files
committed
(Re)Add moved func to fix reg test.
1 parent 621f58b commit 98c89d0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

SU2_CFD/include/variables/CAdjEulerVariable.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ class CAdjEulerVariable : public CVariable {
102102
for (unsigned long iVar = 0; iVar < nVar; iVar++) IntBoundary_Jump(iPoint,iVar) = val_IntBoundary_Jump[iVar];
103103
}
104104

105+
/*!
106+
* \brief Set the momentum part of the truncation error to zero.
107+
* \param[in] iPoint - Point index.
108+
*/
109+
inline void SetVel_ResTruncError_Zero(unsigned long iPoint) final {
110+
for (unsigned long iDim = 0; iDim < nDim; iDim++) Res_TruncError(iPoint,iDim+1) = 0.0;
111+
}
112+
105113
/*!
106114
* \brief Get the value of the force projection vector.
107115
* \return Pointer to the force projection vector.

0 commit comments

Comments
 (0)