From 7c1d8cb146566568961ec9bca063ffbda1dc0aeb Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Sun, 19 Nov 2017 09:27:47 +0100 Subject: [PATCH] STYLE: more consistent use of labelUList and labelUIndList typedefs --- .../extrude/extrudeMesh/extrudeMesh.C | 1 - .../extrudeToRegionMesh/extrudeToRegionMesh.C | 16 +++++----- .../conformalVoronoiMeshIO.C | 2 +- .../manipulation/polyDualMesh/meshDualiser.C | 12 ++++---- .../manipulation/renumberMesh/renumberMesh.C | 14 ++++----- .../mesh/manipulation/splitMesh/regionSide.C | 2 +- .../mesh/manipulation/subsetMesh/subsetMesh.C | 2 +- .../reconstructParMesh/reconstructParMesh.C | 2 +- .../surfaceBooleanFeatures.C | 2 +- .../surfaceMeshTriangulate.C | 10 +++---- .../surfaceSplitNonManifolds.C | 4 +-- .../Lists/IndirectList/IndirectList.H | 9 ------ .../Lists/PackedList/PackedBoolList.C | 6 ++-- .../Lists/PackedList/PackedBoolList.H | 30 +++++++------------ .../Lists/PackedList/PackedBoolListI.H | 14 ++++----- .../containers/Lists/PackedList/PackedList.C | 2 +- .../containers/Lists/PackedList/PackedList.H | 4 +-- .../containers/Lists/PackedList/PackedListI.H | 2 +- .../Lists/UIndirectList/UIndirectList.H | 4 +++ src/OpenFOAM/containers/Lists/UList/UList.H | 1 + .../procFacesGAMGProcAgglomeration.C | 2 +- .../meshes/lduMesh/lduPrimitiveMesh.C | 2 +- .../mapDistribute/mapDistributeBase.H | 2 +- .../mapDistributeBaseTemplates.C | 2 +- .../constraint/cyclic/cyclicPolyPatch.C | 2 +- .../constraint/oldCyclic/oldCyclicPolyPatch.C | 2 +- .../constraint/processor/processorPolyPatch.C | 4 +-- .../PatchTools/PatchToolsEdgeOwner.C | 2 +- .../PatchTools/PatchToolsSortEdges.C | 2 +- .../primitives/bools/lists/boolList.H | 20 ++++++++----- .../primitives/ints/lists/labelIndList.H | 2 +- .../primitives/ints/lists/labelList.H | 9 ++++-- .../vtk/output/foamVtkOutputFields.H | 4 +-- .../vtk/output/foamVtkOutputFieldsTemplates.C | 4 +-- src/conversion/vtk/part/foamVtkMeshMaps.C | 4 +-- src/conversion/vtk/part/foamVtkMeshMaps.H | 4 +-- src/conversion/vtk/part/foamVtuCells.C | 4 +-- src/conversion/vtk/part/foamVtuCells.H | 4 +-- src/conversion/vtk/part/foamVtuSizing.C | 22 +++++++------- src/conversion/vtk/part/foamVtuSizing.H | 22 +++++++------- .../kahipDecomp/dummyKahipDecomp.C | 4 +-- .../metisDecomp/dummyMetisDecomp.C | 4 +-- .../ptscotchDecomp/dummyPtscotchDecomp.C | 4 +-- .../scotchDecomp/dummyScotchDecomp.C | 4 +-- .../fvMeshDistribute/fvMeshDistribute.C | 4 +-- src/dynamicMesh/fvMeshSubset/fvMeshSubset.C | 8 ++--- src/dynamicMesh/fvMeshSubset/fvMeshSubset.H | 2 +- .../meshCut/cellLooper/hexCellLooper.C | 2 +- .../motionSmoother/motionSmootherAlgo.C | 8 ++--- .../motionSmoother/motionSmootherAlgo.H | 2 +- .../polyMeshAdder/faceCoupleInfo.C | 16 +++++----- src/dynamicMesh/polyMeshAdder/polyMeshAdder.C | 4 +-- .../polyTopoChange/addPatchCellLayer.C | 8 ++--- .../polyTopoChange/addPatchCellLayer.H | 2 +- .../polyTopoChange/hexRef8/hexRef8.C | 22 +++++++------- .../polyTopoChange/hexRef8/hexRef8Data.C | 8 ++--- .../enrichedPatch/enrichedPatchCutFaces.C | 2 +- src/fileFormats/ensight/part/ensightCells.C | 2 +- src/fileFormats/vtk/output/foamVtkOutput.H | 2 +- .../vtk/output/foamVtkOutputTemplates.C | 2 +- .../field/fluxSummary/fluxSummary.C | 2 +- .../regionSizeDistribution.H | 3 +- .../regionSizeDistributionTemplates.C | 2 +- .../derived/rotorDiskSource/rotorDiskSource.C | 2 +- .../meshRefinement/meshRefinement.H | 2 +- .../meshRefinement/meshRefinementBaffles.C | 5 ++-- .../meshRefinement/meshRefinementGapRefine.C | 10 +++---- .../meshRefinement/meshRefinementMerge.C | 2 +- .../meshRefinement/meshRefinementRefine.C | 2 +- .../refinementSurfaces/refinementSurfaces.C | 12 ++++---- .../snappyHexMeshDriver/snappyLayerDriver.C | 2 +- .../snappySnapDriverFeature.C | 2 +- .../extendedEdgeMesh/extendedEdgeMesh.C | 14 ++++----- .../mappedPolyPatch/mappedPatchBase.C | 16 +++------- src/meshTools/meshTools/meshTools.C | 2 +- src/meshTools/sets/topoSets/cellSet.C | 2 +- src/meshTools/sets/topoSets/cellSet.H | 2 +- src/meshTools/sets/topoSets/faceSet.C | 2 +- src/meshTools/sets/topoSets/faceSet.H | 2 +- src/meshTools/sets/topoSets/faceZoneSet.C | 4 +-- src/meshTools/sets/topoSets/pointSet.C | 2 +- src/meshTools/sets/topoSets/pointSet.H | 2 +- src/meshTools/sets/topoSets/topoSet.C | 2 +- src/meshTools/sets/topoSets/topoSet.H | 3 +- .../faceTriangulation/faceTriangulation.C | 8 ++--- .../cellVolumeWeightCellCellStencil.C | 14 ++++----- .../inverseDistanceCellCellStencil.C | 2 +- .../metisLikeDecomp/metisLikeDecomp.C | 4 +-- .../metisLikeDecomp/metisLikeDecomp.H | 8 ++--- .../multiLevelDecomp/multiLevelDecomp.C | 2 +- .../decompose/kahipDecomp/kahipDecomp.C | 4 +-- .../decompose/kahipDecomp/kahipDecomp.H | 4 +-- .../decompose/metisDecomp/metisDecomp.C | 12 ++++---- .../decompose/metisDecomp/metisDecomp.H | 4 +-- .../decompose/ptscotchDecomp/ptscotchDecomp.C | 8 ++--- .../decompose/ptscotchDecomp/ptscotchDecomp.H | 4 +-- .../decompose/scotchDecomp/scotchDecomp.C | 4 +-- .../decompose/scotchDecomp/scotchDecomp.H | 4 +-- .../cellVolumeWeight/cellVolumeWeightMethod.C | 2 +- .../correctedCellVolumeWeightMethod.C | 2 +- .../calcMethod/direct/directMethod.C | 2 +- .../calcMethod/mapNearest/mapNearestMethod.C | 2 +- .../sampledSet/patchSeed/patchSeedSet.C | 2 +- .../sampledPatch/sampledPatch.C | 4 +-- .../sampledTriSurfaceMesh.C | 2 +- .../surface/triSurfaceMesh/discreteSurface.C | 2 +- .../triSurface/triSurfaceAddressing.C | 2 +- 107 files changed, 277 insertions(+), 292 deletions(-) diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C index 731e38f67b..194e185ac5 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C @@ -443,7 +443,6 @@ int main(int argc, char *argv[]) } - indirectPrimitivePatch extrudePatch ( IndirectList diff --git a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C index c36844e47d..3ac79b9be5 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C @@ -521,8 +521,8 @@ labelListList globalEdgeFaces label findUncoveredPatchFace ( const fvMesh& mesh, - const UIndirectList