We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 621f58b commit 98c89d0Copy full SHA for 98c89d0
1 file changed
SU2_CFD/include/variables/CAdjEulerVariable.hpp
@@ -102,6 +102,14 @@ class CAdjEulerVariable : public CVariable {
102
for (unsigned long iVar = 0; iVar < nVar; iVar++) IntBoundary_Jump(iPoint,iVar) = val_IntBoundary_Jump[iVar];
103
}
104
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
+
113
/*!
114
* \brief Get the value of the force projection vector.
115
* \return Pointer to the force projection vector.
0 commit comments