Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfooted committed Jan 22, 2025
1 parent d9fa030 commit 29f9b8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Common/include/geometry/dual_grid/CPoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,14 +771,14 @@ class CPoint {
}

/*!
* \brief Get the value of the old coordinates for implicit smoothing. <- Nijso: really?
* \brief Get the value of the old coordinates.
* \param[in] iPoint - Index of the point.
* \return Old coordinates at a point.
*/
inline su2double* GetCoord_Old(unsigned long iPoint) { return Coord_Old[iPoint]; }

/*!
* \brief Set the value of the vector <i>Coord_Old</i> for implicit smoothing. <- Nijso: really?
* \brief Set the value of the vector <i>Coord_Old</i>.
* \param[in] iPoint - Index of the point.
* \param[in] coord_old - Value of the coordinates.
*/
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/src/iteration/CDiscAdjFluidIteration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void CDiscAdjFluidIteration::Preprocess(COutput* output, CIntegration**** integr
for (auto iPoint = 0ul; iPoint < geometries[iMesh]->GetnPoint(); iPoint++) {
if (dual_time_2nd) {
geometries[iMesh]->nodes->SetCoord_n(iPoint, geometries[iMesh]->nodes->GetCoord_n1(iPoint));
geometries[iMesh]->nodes->SetCoord_n1(iPoint, geometries[iMesh]->nodes->GetCoord_Old(iPoint)); // <- this is not implicit smoothing
geometries[iMesh]->nodes->SetCoord_n1(iPoint, geometries[iMesh]->nodes->GetCoord_Old(iPoint));
} else {
geometries[iMesh]->nodes->SetCoord_n(iPoint, geometries[iMesh]->nodes->GetCoord_Old(iPoint));
}
Expand Down

0 comments on commit 29f9b8c

Please sign in to comment.