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-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -118,7 +118,7 @@ int main(int argc, char *argv[])
meshedSurface surf1(surfFileName);
pointField points(surf1.points());
transforms.transformPosition(points, points);
surf1.movePoints(points);
surf1.setPoints(points);
surf1.write(outFileName);
Info<< "End\n" << endl;