template<class ArrayT>
Definition at line 1232 of file PxDistribution.h. References dp, PX_COUT, PX_ENDL, PX_MPI, PX_OFT, PX_SBT, PxBcastArrayMPI(), PxBcastArrayOFT(), PxBcastArraySBT(), and PxNrCPUs(). Referenced by PxArrayPreStateTrans(), and PxReadRaw(). 01233 { 01234 /*** root : rank of broadcast root node ***/ 01235 /*** dtype : distribution type (PX_OFT, PX_SBT, or PX_MPI) ***/ 01236 /*** bdata : indicates whether border data is broadcast as well ***/ 01237 01238 if (dp) PX_COUT << "Bcast: " << "NrCPUs = " << PxNrCPUs() << PX_ENDL; 01239 01240 switch (dtype) { 01241 case PX_OFT : PxBcastArrayOFT(a, root, bdata); break; 01242 case PX_SBT : PxBcastArraySBT(a, root, bdata); break; 01243 case PX_MPI : 01244 default : PxBcastArrayMPI(a, root, bdata); 01245 } 01246 }
Here is the call graph for this function:
|