Files
openfoam/applications/test
Mark Olesen 8478595a15 ENH: new broadcast version of Pstreams (#2371)
- The idea of broadcast streams is to replace multiple master to
  subProcs communications with a single MPI_Bcast.

    if (Pstream::master())
    {
        OPBstream toAll(Pstream::masterNo());
        toAll << data;
    }
    else
    {
        IPBstream fromMaster(Pstream::masterNo());
        fromMaster >> data;
    }

    // vs.
    if (Pstream::master())
    {
        for (const int proci : Pstream::subProcs())
        {
            OPstream os(Pstream::commsTypes::scheduled, proci);
            os << data;
        }
    }
    else
    {
        IPstream is(Pstream::commsTypes::scheduled, Pstream::masterNo());
        is >> data;
    }

  Can simply use UPstream::broadcast() directly for contiguous data
  with known lengths.

Based on ideas from T.Aoyagi(RIST), A.Azami(RIST)
2022-03-04 17:49:23 +00:00
..
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2021-11-26 12:24:35 +01:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2022-02-10 16:46:13 +01:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2020-10-07 09:17:00 +02:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2021-12-20 14:18:01 +00:00
2021-12-20 14:18:01 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2021-11-15 19:34:01 +01:00
2019-10-31 14:48:44 +00:00
2021-12-20 14:18:01 +00:00
2019-12-13 12:33:23 +01:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2021-12-20 14:18:01 +00:00