diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK/vtkMesh.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK/vtkMesh.C index 12a7307f82..75f9d585f5 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK/vtkMesh.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK/vtkMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -61,7 +61,7 @@ Foam::fvMesh::readUpdateState Foam::vtkMesh::readUpdate() if (meshState != fvMesh::UNCHANGED) { - // Note: since fvMeshSubset has no movePoints() functionality, + // Note: since fvMeshSubset has no setPoints() functionality, // reconstruct the subset even if only movement. topoPtr_.clear(); diff --git a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C index dcbece0c35..abbce0205f 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C +++ b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -133,7 +133,7 @@ bool intersectSurfaces if (nIters != 0) { // Update geometric quantities - surf.movePoints(points); + surf.setPoints(points); hasMoved = true; } } @@ -206,7 +206,7 @@ bool intersectSurfaces if (nIters1 != 0) { // Update geometric quantities - surf1.movePoints(points1); + surf1.setPoints(points1); hasMoved1 = true; } } @@ -249,7 +249,7 @@ bool intersectSurfaces if (nIters2 != 0) { // Update geometric quantities - surf2.movePoints(points2); + surf2.setPoints(points2); hasMoved2 = true; } } diff --git a/applications/utilities/surface/surfaceLambdaMuSmooth/surfaceLambdaMuSmooth.C b/applications/utilities/surface/surfaceLambdaMuSmooth/surfaceLambdaMuSmooth.C index 5302a7f972..ef04ea82e3 100644 --- a/applications/utilities/surface/surfaceLambdaMuSmooth/surfaceLambdaMuSmooth.C +++ b/applications/utilities/surface/surfaceLambdaMuSmooth/surfaceLambdaMuSmooth.C @@ -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(newPoints, surf1.meshPoints()) = newLocalPoints; - surf1.movePoints(newPoints); + surf1.setPoints(newPoints); } // Mu @@ -222,7 +222,7 @@ int main(int argc, char *argv[]) UIndirectList(newPoints, surf1.meshPoints()) = newLocalPoints; - surf1.movePoints(newPoints); + surf1.setPoints(newPoints); } } diff --git a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C index db3c2284b0..1f957d53d3 100644 --- a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C +++ b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -182,14 +182,14 @@ int main(int argc, char *argv[]) { Info<< " -from " << fromCsys().name() << endl; tmp tpf = fromCsys().localPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } if (toCsys.valid()) { Info<< " -to " << toCsys().name() << endl; tmp tpf = toCsys().globalPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } scalar scaleOut = 0; diff --git a/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C b/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C index 6d142a3206..1cb722e072 100644 --- a/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C +++ b/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -186,14 +186,14 @@ int main(int argc, char *argv[]) { Info<< " -from " << fromCsys().name() << endl; tmp tpf = fromCsys().localPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } if (toCsys.valid()) { Info<< " -to " << toCsys().name() << endl; tmp tpf = toCsys().globalPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } scalar scaleOut = 0; diff --git a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C index 6aafb6e4b9..9202b91f61 100644 --- a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C +++ b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -183,14 +183,14 @@ int main(int argc, char *argv[]) { Info<< " -from " << fromCsys().name() << endl; tmp tpf = fromCsys().localPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } if (toCsys.valid()) { Info<< " -to " << toCsys().name() << endl; tmp tpf = toCsys().globalPosition(surf.points()); - surf.movePoints(tpf()); + surf.setPoints(tpf()); } scalar scaleOut = 0; diff --git a/applications/utilities/surface/surfaceTransformPoints/surfaceTransformPoints.C b/applications/utilities/surface/surfaceTransformPoints/surfaceTransformPoints.C index b803e41454..d2463cc7a4 100644 --- a/applications/utilities/surface/surfaceTransformPoints/surfaceTransformPoints.C +++ b/applications/utilities/surface/surfaceTransformPoints/surfaceTransformPoints.C @@ -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; diff --git a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C index 15604ccead..3d3d9cd768 100644 --- a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C +++ b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -518,11 +518,11 @@ bool Foam::triSurfaceMesh::overlaps(const boundBox& bb) const } -void Foam::triSurfaceMesh::movePoints(const pointField& newPoints) +void Foam::triSurfaceMesh::setPoints(const pointField& newPoints) { triSurfaceRegionSearch::clearOut(); edgeTree_.clear(); - triSurface::movePoints(newPoints); + triSurface::setPoints(newPoints); } diff --git a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H index 9f19b90023..fa16a3c0c3 100644 --- a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H +++ b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -220,7 +220,7 @@ public: void clearOut(); //- Move points - virtual void movePoints(const pointField&); + virtual void setPoints(const pointField&); //- Demand driven construction of octree for boundary edges const indexedOctree& edgeTree() const; diff --git a/src/surfMesh/MeshedSurface/MeshedSurface.C b/src/surfMesh/MeshedSurface/MeshedSurface.C index 700ee8b951..ecbab4699d 100644 --- a/src/surfMesh/MeshedSurface/MeshedSurface.C +++ b/src/surfMesh/MeshedSurface/MeshedSurface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -458,7 +458,7 @@ void Foam::MeshedSurface::clear() template -void Foam::MeshedSurface::movePoints(const pointField& newPoints) +void Foam::MeshedSurface::setPoints(const pointField& newPoints) { // Adapt for new point position ParentType::clearGeom(); diff --git a/src/surfMesh/MeshedSurface/MeshedSurface.H b/src/surfMesh/MeshedSurface/MeshedSurface.H index 1e51063ce5..8420e1d0d7 100644 --- a/src/surfMesh/MeshedSurface/MeshedSurface.H +++ b/src/surfMesh/MeshedSurface/MeshedSurface.H @@ -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 @@ -333,8 +333,8 @@ public: //- Clear all storage virtual void clear(); - //- Move points - virtual void movePoints(const pointField&); + //- Reset the points + virtual void setPoints(const pointField&); //- Scale points. A non-positive factor is ignored virtual void scalePoints(const scalar); diff --git a/src/triSurface/triSurface/triSurface.C b/src/triSurface/triSurface/triSurface.C index 0d5c059748..ce2180ad7c 100644 --- a/src/triSurface/triSurface/triSurface.C +++ b/src/triSurface/triSurface/triSurface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -734,7 +734,7 @@ const Foam::labelList& Foam::triSurface::edgeOwner() const } -void Foam::triSurface::movePoints(const pointField& newPoints) +void Foam::triSurface::setPoints(const pointField& newPoints) { // Remove all geometry dependent data deleteDemandDrivenData(sortedEdgeFacesPtr_); diff --git a/src/triSurface/triSurface/triSurface.H b/src/triSurface/triSurface/triSurface.H index 9bb4da1437..85bcfc203c 100644 --- a/src/triSurface/triSurface/triSurface.H +++ b/src/triSurface/triSurface/triSurface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -346,7 +346,7 @@ public: // Edit //- Move points - virtual void movePoints(const pointField&); + virtual void setPoints(const pointField&); //- Scale points. A non-positive factor is ignored virtual void scalePoints(const scalar);