ENH: additional IndirectList static methods
- uniq() : creates an IndirectList with duplicated entries filtered out - subset() : creates an IndirectList with positions that satisfy a condition predicate. - subset_if() : creates an IndirectList with values that satisfy a given predicate. An indirect subset will be cheaper than creating a subset copy of the original data, and also allows modification. STYLE: combine UIndirectList.H into UIndirectList.H (reduce file clutter)
Showing
- applications/test/ListOps/Test-ListOps.C 4 additions, 0 deletionsapplications/test/ListOps/Test-ListOps.C
- applications/test/UIndirectList/Test-UIndirectList.C 1 addition, 1 deletionapplications/test/UIndirectList/Test-UIndirectList.C
- applications/test/minMax1/Test-minMax1.C 3 additions, 1 deletionapplications/test/minMax1/Test-minMax1.C
- applications/test/sort/Test-sortList.C 15 additions, 1 deletionapplications/test/sort/Test-sortList.C
- src/OpenFOAM/containers/IndirectLists/IndirectList/IndirectList.H 111 additions, 4 deletions...FOAM/containers/IndirectLists/IndirectList/IndirectList.H
- src/OpenFOAM/containers/IndirectLists/IndirectList/IndirectListI.H 108 additions, 1 deletion...OAM/containers/IndirectLists/IndirectList/IndirectListI.H
- src/OpenFOAM/containers/IndirectLists/IndirectList/UIndirectList.H 16 additions, 0 deletions...OAM/containers/IndirectLists/IndirectList/UIndirectList.H
- src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListAddressing.H 5 additions, 3 deletions...s/IndirectLists/IndirectListBase/IndirectListAddressing.H
- src/OpenFOAM/containers/IndirectLists/UIndirectList/UIndirectList.H 0 additions, 108 deletions...AM/containers/IndirectLists/UIndirectList/UIndirectList.H
- src/OpenFOAM/containers/Lists/ListOps/ListOps.H 5 additions, 0 deletionssrc/OpenFOAM/containers/Lists/ListOps/ListOps.H
- src/OpenFOAM/meshes/meshShapes/cell/cellIndList.H 2 additions, 3 deletionssrc/OpenFOAM/meshes/meshShapes/cell/cellIndList.H
- src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H 1 addition, 1 deletionsrc/OpenFOAM/meshes/meshShapes/cellShape/cellShapeI.H
- src/OpenFOAM/meshes/meshShapes/edge/edgeIndList.H 2 additions, 3 deletionssrc/OpenFOAM/meshes/meshShapes/edge/edgeIndList.H
- src/OpenFOAM/meshes/meshShapes/face/faceIndList.H 2 additions, 3 deletionssrc/OpenFOAM/meshes/meshShapes/face/faceIndList.H
- src/OpenFOAM/meshes/primitiveShapes/point/pointIndList.H 2 additions, 3 deletionssrc/OpenFOAM/meshes/primitiveShapes/point/pointIndList.H
- src/OpenFOAM/primitives/Scalar/lists/scalarIndList.H 2 additions, 3 deletionssrc/OpenFOAM/primitives/Scalar/lists/scalarIndList.H
- src/OpenFOAM/primitives/Vector/lists/vectorIndList.H 2 additions, 3 deletionssrc/OpenFOAM/primitives/Vector/lists/vectorIndList.H
- src/OpenFOAM/primitives/ints/lists/labelIndList.H 1 addition, 2 deletionssrc/OpenFOAM/primitives/ints/lists/labelIndList.H
- src/OpenFOAM/primitives/strings/lists/stringListOps.H 2 additions, 2 deletionssrc/OpenFOAM/primitives/strings/lists/stringListOps.H
- src/finiteArea/faMatrices/faMatrix/faMatrix.C 1 addition, 1 deletionsrc/finiteArea/faMatrices/faMatrix/faMatrix.C
Please register or sign in to comment