From 0128b2be68fb87f72e71b6f5f6f29496735e865f Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 12 Mar 2009 19:25:21 +0000 Subject: [PATCH] UIndirectList --- .../test/UIndirectListTest/Make/files | 3 + .../test/UIndirectListTest/Make/options | 0 .../UIndirectListTest.C} | 89 +++++++----- .../combinePatchFaces/combinePatchFaces.C | 2 +- .../conversion/polyDualMesh/meshDualiser.C | 17 +-- .../mesh/manipulation/setSet/writePointSet.C | 2 +- .../mesh/manipulation/splitMesh/regionSide.C | 5 +- .../mesh/manipulation/splitMesh/splitMesh.C | 17 ++- .../mesh/manipulation/stitchMesh/stitchMesh.C | 1 - .../dataConversion/foamToVTK/writePointSet.C | 4 +- .../surfaceSplitNonManifolds.C | 4 +- src/OpenFOAM/containers/Lists/List/List.C | 45 ++++++ src/OpenFOAM/containers/Lists/List/List.H | 7 + .../Lists/UIndirectList/UIndirectList.H | 44 +++--- .../Lists/UIndirectList/UIndirectListI.H | 130 ++++++++++++++++++ .../polyMesh/globalMeshData/globalMeshData.C | 2 +- .../polyMesh/globalMeshData/globalPoints.C | 4 +- .../mapPolyMesh/mapDistribute/mapDistribute.C | 2 +- .../constraint/cyclic/cyclicPolyPatch.C | 26 ++-- .../constraint/processor/processorPolyPatch.C | 4 +- .../meshes/polyMesh/syncTools/syncTools.C | 6 +- .../meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H | 1 - .../PatchTools/PatchToolsEdgeOwner.C | 2 +- .../PatchTools/PatchToolsSortEdges.C | 2 +- .../autoHexMeshDriver/autoSnapDriver.C | 5 +- .../refinementSurfaces/refinementSurfaces.C | 6 +- .../fvMeshDistribute/fvMeshDistribute.C | 4 +- .../meshCut/cellLooper/hexCellLooper.C | 2 +- .../polyMeshGeometry/polyMeshGeometry.C | 8 +- .../polyMeshAdder/faceCoupleInfo.C | 35 ++--- src/dynamicMesh/polyMeshAdder/polyMeshAdder.C | 7 +- .../polyTopoChange/addPatchCellLayer.C | 6 +- .../polyTopoChange/combineFaces.C | 2 +- .../polyTopoChange/edgeCollapser.C | 1 - .../polyTopoChange/polyTopoChange/hexRef8.C | 24 ++-- .../polyTopoChange/removeFaces.C | 2 +- .../polyTopoChange/removePoints.C | 2 +- .../enrichedPatch/enrichedPatchCutFaces.C | 2 +- .../directMappedFixedValueFvPatchField.C | 8 +- ...MappedVelocityFluxFixedValueFvPatchField.C | 8 +- .../directMappedPolyPatch.C | 4 +- src/meshTools/meshTools/meshTools.C | 2 +- .../primitiveMeshGeometry.C | 8 +- .../searchableSurfaceCollection.C | 4 +- src/meshTools/sets/topoSets/topoSet.C | 5 +- .../sampledSet/sampledSets/sampledSets.C | 2 +- .../sampledSets/sampledSetsTemplates.C | 7 +- .../faceTriangulation/faceTriangulation.C | 10 +- .../triSurface/triSurfaceAddressing.C | 4 +- 49 files changed, 390 insertions(+), 197 deletions(-) create mode 100644 applications/test/UIndirectListTest/Make/files create mode 100644 applications/test/UIndirectListTest/Make/options rename applications/test/{IndirectList/IndirectListI.H => UIndirectListTest/UIndirectListTest.C} (53%) rename applications/test/IndirectList/IndirectList.H => src/OpenFOAM/containers/Lists/UIndirectList/UIndirectList.H (70%) create mode 100644 src/OpenFOAM/containers/Lists/UIndirectList/UIndirectListI.H diff --git a/applications/test/UIndirectListTest/Make/files b/applications/test/UIndirectListTest/Make/files new file mode 100644 index 0000000000..8b43119aef --- /dev/null +++ b/applications/test/UIndirectListTest/Make/files @@ -0,0 +1,3 @@ +UIndirectListTest.C + +EXE = $(FOAM_USER_APPBIN)/UIndirectListTest diff --git a/applications/test/UIndirectListTest/Make/options b/applications/test/UIndirectListTest/Make/options new file mode 100644 index 0000000000..e69de29bb2 diff --git a/applications/test/IndirectList/IndirectListI.H b/applications/test/UIndirectListTest/UIndirectListTest.C similarity index 53% rename from applications/test/IndirectList/IndirectListI.H rename to applications/test/UIndirectListTest/UIndirectListTest.C index 827bd0d95f..575173c51e 100644 --- a/applications/test/IndirectList/IndirectListI.H +++ b/applications/test/UIndirectListTest/UIndirectListTest.C @@ -26,51 +26,68 @@ Description \*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // +#include "UIndirectList.H" +#include "IOstreams.H" -//- Construct given size -template -inline Foam::IndirectList::IndirectList -( - const Foam::UList& completeList, - const Foam::List