ENH: use updated globalIndex methods
- range(proci) instead of localStart(proci), localSize(proci) combination. * does the same thing, can be used directly with various other routines for slicing etc. Eg, Foam::identity(globalNumbering.range(myProci)) - globalIndex::calcOffset() instead of constructing a globalIndex and taking the localStart(). Avoids intermediate resizing and storing of an offsets table (which is then discarded) as well as the subsequent lookup into that table
Showing
- src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C 2 additions, 6 deletions...lomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C
- src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.C 4 additions, 2 deletionssrc/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.C
- src/fileFormats/vtk/write/foamVtkPolyWriter.C 5 additions, 5 deletionssrc/fileFormats/vtk/write/foamVtkPolyWriter.C
- src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/CellZoneInjection/CellZoneInjection.C 7 additions, 9 deletions...atic/InjectionModel/CellZoneInjection/CellZoneInjection.C
- src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C 6 additions, 4 deletionssrc/mesh/snappyHexMesh/meshRefinement/meshRefinement.C
- src/meshTools/coordSet/writers/vtk/foamVtkCoordSetWriter.C 3 additions, 3 deletionssrc/meshTools/coordSet/writers/vtk/foamVtkCoordSetWriter.C
- src/meshTools/output/vtk/mesh/foamVtkInternalMeshWriter.C 10 additions, 8 deletionssrc/meshTools/output/vtk/mesh/foamVtkInternalMeshWriter.C
- src/meshTools/output/vtk/patch/foamVtkPatchMeshWriter.C 2 additions, 2 deletionssrc/meshTools/output/vtk/patch/foamVtkPatchMeshWriter.C
- src/meshTools/output/vtk/topoSet/foamVtkWriteCellSetFaces.C 2 additions, 2 deletionssrc/meshTools/output/vtk/topoSet/foamVtkWriteCellSetFaces.C
- src/meshTools/output/vtk/topoSet/foamVtkWriteFaceSet.C 2 additions, 2 deletionssrc/meshTools/output/vtk/topoSet/foamVtkWriteFaceSet.C
- src/overset/cellCellStencil/cellCellStencil/cellCellStencil.C 1 addition, 1 deletion...overset/cellCellStencil/cellCellStencil/cellCellStencil.C
Please register or sign in to comment