From cc7af66a1571ee3d6d6c49e6efa7e53def107e16 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 28 Apr 2020 13:22:24 +0200 Subject: [PATCH] STYLE: use face_type instead of FaceType typedef --- .../surface/surfaceClean/collapseEdge.C | 5 +- .../surfaceSplitNonManifolds.C | 10 ++-- .../CalcPatchToPatchWeights.C | 7 +-- .../PatchToPatchInterpolate.C | 3 +- .../PrimitivePatchInterpolation.C | 7 +-- .../PatchTools/PatchToolsSearch.C | 2 +- .../indexedOctree/treeDataPrimitivePatch.C | 15 +++--- src/meshTools/meshTools/meshToolsTemplates.C | 5 +- .../triSurfaceMesh/triSurfaceMesh.C | 2 +- .../surfaceIntersection/edgeIntersections.C | 14 ++--- .../surfaceIntersection/surfaceIntersection.C | 6 +-- .../orientedSurface/orientedSurface.C | 54 ++++++++++--------- .../orientedSurface/orientedSurface.H | 13 ++--- .../triSurfaceTools/triSurfaceTools.C | 14 ++--- .../distributedTriSurfaceMesh.C | 48 +++++------------ 15 files changed, 91 insertions(+), 114 deletions(-) diff --git a/applications/utilities/surface/surfaceClean/collapseEdge.C b/applications/utilities/surface/surfaceClean/collapseEdge.C index b1f4f4ea84..55972da94d 100644 --- a/applications/utilities/surface/surfaceClean/collapseEdge.C +++ b/applications/utilities/surface/surfaceClean/collapseEdge.C @@ -6,6 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation + Copyright (C) 2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -35,7 +36,7 @@ static void markPointNbrs boolList& okToCollapse ) { - const triSurface::FaceType& f = surf.localFaces()[facei]; + const triSurface::face_type& f = surf.localFaces()[facei]; forAll(f, fp) { @@ -109,7 +110,7 @@ label collapseEdge(triSurface& surf, const scalar minLen) if (okToCollapse[facei]) { // Check edge lengths. - const triSurface::FaceType& f = localFaces[facei]; + const triSurface::face_type& f = localFaces[facei]; forAll(f, fp) { diff --git a/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C b/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C index 8f5e8ea8f9..8c8cd23c8b 100644 --- a/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C +++ b/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2019 OpenCFD Ltd. + Copyright (C) 2019-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -459,7 +459,7 @@ label sharedFace const edge& e = surf.edges()[sharedEdgeI]; - const triSurface::FaceType& f = surf.localFaces()[firstFacei]; + const triSurface::face_type& f = surf.localFaces()[firstFacei]; label startIndex = f.find(e.start()); @@ -611,13 +611,13 @@ void renumberFaces const triSurface& surf, const labelList& pointMap, const Map