surface meshes: Renamed movePoints -> setPoints for consistency with polyMesh

The surface mesh setPoints function resets the points without caching the old
points or swept areas so is the equivalent of the polyMesh::setPoints rather
than movePoints.
This commit is contained in:
Henry Weller
2024-03-08 17:28:55 +00:00
parent 587f79b39f
commit 3f1e6e796f
13 changed files with 34 additions and 34 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -206,7 +206,7 @@ int main(int argc, char *argv[])
UIndirectList<point>(newPoints, surf1.meshPoints()) =
newLocalPoints;
surf1.movePoints(newPoints);
surf1.setPoints(newPoints);
}
// Mu
@ -222,7 +222,7 @@ int main(int argc, char *argv[])
UIndirectList<point>(newPoints, surf1.meshPoints()) =
newLocalPoints;
surf1.movePoints(newPoints);
surf1.setPoints(newPoints);
}
}