Skip to content
Snippets Groups Projects
Commit 7cfd0530 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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
parent 81f0620b
Branches
Tags
1 merge request!695OpenFOAM v2406
Showing
with 44 additions and 44 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment