From de79c6377bc0f75e9936ec98f7807944383b02d5 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 7 Jan 2019 09:20:51 +0100 Subject: [PATCH] ENH: for-range, forAllIters() ... in meshTools/ - reduced clutter when iterating over containers --- .../cyclicACMIGAMGInterface.C | 50 +-- .../cyclicAMIGAMGInterface.C | 50 +-- .../PatchFunction1/makePatchFunction1s.C | 2 +- .../PatchEdgeFaceWave/patchPatchDist.C | 12 +- .../PatchEdgeFaceWave/patchPatchDist.H | 8 +- src/meshTools/meshStructure/meshStructure.C | 11 +- src/meshTools/meshTools/meshTools.C | 9 +- .../regionCoupledBaseGAMGInterface.C | 42 +-- src/meshTools/regionSplit/localPointRegion.C | 30 +- .../cellSources/regionToCell/regionToCell.C | 6 +- .../setsToFaceZone/setsToFaceZone.C | 4 +- .../intersectedSurface/intersectedSurface.C | 161 +++------ .../surfaceIntersectionFuncs.C | 23 +- .../surfaceFeatures/surfaceFeatures.C | 28 +- .../triSurfaceTools/triSurfaceTools.C | 342 +++++++----------- .../twoDPointCorrector/twoDPointCorrector.C | 47 ++- 16 files changed, 313 insertions(+), 512 deletions(-) diff --git a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.C b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.C index efbfef120a..7b8b086fd4 100644 --- a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.C +++ b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2013-2016 OpenFOAM Foundation @@ -80,27 +80,22 @@ Foam::cyclicACMIGAMGInterface::cyclicACMIGAMGInterface Map