1. 31 Oct, 2019 1 commit
  2. 06 Feb, 2019 1 commit
  3. 16 Jan, 2019 1 commit
    • Mark Olesen's avatar
      ENH: add simplified gather methods for globalIndex with default communicator · f498d09d
      Mark Olesen authored
      - when combining lists in processor order this simplifies code and
        reduces memory overhead.
      
        Write this:
          ----
          labelList collected;
      
          const globalIndex sizing(input.size());
          sizing.gather(input, collected);
          ----
      
        OR
      
          ----
          labelList collected;
          globalIndex::gatherOp(input, collected);
          ----
      
        Instead of this:
      
          ----
          labelList collected;
      
          List<labelList> scratch(Pstream::nProcs());
          scratch[Pstream::myProcNo()] = input;
          Pstream::gatherList(scratch);
      
          if (Pstream::master())
          {
              collected = ListListOps::combine<labelList>
              (
                  scratch,
                  accessOp<labelList>()
              );
          }
          scratch.clear();
          ----
      f498d09d
  4. 05 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: extend globalIndex toGlobal methods · f5baa9a5
      Mark Olesen authored
      - now applicable to labelLists.
      
      Note:
        in some situations it will be more efficient to use
        Foam::identity() directly. Eg,
      
           globalIndex globalCells(mesh.nCells());
           ...
           labelList cellIds
           (
               identity(globalCells.localSize(), globalCells.localStart())
           );
      f5baa9a5
  5. 01 Aug, 2018 1 commit
  6. 13 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: additional methods for globalIndex · 3e941ae4
      Mark Olesen authored
      - const version of offsets().
      
      - empty() method to test for empty offsets, or zero overall size
      
      - reset() methods for reseting the sizes. For example, when the context
        has shifted slightly.
      
      - localStart() methods, similar to localSize() methods
      
      STYLE: make globalIndex single parameter constructors explicit
      3e941ae4
  7. 26 Jan, 2018 1 commit
  8. 25 Apr, 2016 1 commit
  9. 08 Nov, 2015 1 commit
  10. 03 May, 2013 1 commit
  11. 27 Feb, 2013 1 commit
  12. 08 Feb, 2013 1 commit
  13. 14 Aug, 2011 1 commit
  14. 19 Jan, 2011 1 commit
  15. 14 Jan, 2011 1 commit
  16. 07 Jan, 2011 1 commit
  17. 05 Jan, 2011 2 commits
  18. 28 Jul, 2010 1 commit
  19. 29 Mar, 2010 1 commit
  20. 03 Nov, 2009 1 commit
  21. 25 Jun, 2009 1 commit
  22. 23 Jun, 2009 2 commits
  23. 29 May, 2009 1 commit
  24. 31 Dec, 2008 1 commit
  25. 14 Aug, 2008 1 commit
  26. 25 Jun, 2008 2 commits
  27. 15 Apr, 2008 1 commit