openfoam/applications/utilities/mesh
Mark Olesen f498d09dbf ENH: add simplified gather methods for globalIndex with default communicator
- 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();
    ----
2019-01-16 21:33:06 +01:00
..
advanced BUG: polyMesh constructor AUTO_WRITE flag, ignored readOpt (#1147) 2019-01-07 22:23:19 +01:00
conversion BUG: polyMesh constructor AUTO_WRITE flag, ignored readOpt (#1147) 2019-01-07 22:23:19 +01:00
doc ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
generation ENH: minor consistency improvements for bounding box 2019-01-09 09:32:23 +01:00
manipulation ENH: add simplified gather methods for globalIndex with default communicator 2019-01-16 21:33:06 +01:00