Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class ArrayT>
void Impala::Core::Array::Pattern::PxScatterArray ( ArrayT *  glob,
ArrayT *  loc,
int  root = 0,
int  dtype = PX_SBT,
bool  bdata = false 
) [inline]

Definition at line 809 of file PxDistribution.h.

References dp, PX_COUT, PX_ENDL, PX_MPI, PX_OFT, PX_SBT, PxNrCPUs(), PxScatterArrayMPI(), PxScatterArrayOFT(), and PxScatterArraySBT().

Referenced by PxArrayPreStateTrans().

00811 {
00812     /*** root  : rank of sending node                               ***/
00813     /*** dtype : distribution type (PX_OFT, PX_SBT, or PX_MPI)      ***/
00814     /*** bdata : indicates whether border data is scattered as well ***/
00815     
00816 if (dp) PX_COUT << "Scatter: " << "NrCPUs = " << PxNrCPUs() << PX_ENDL;
00817 
00818     switch (dtype) {
00819         case PX_MPI : PxScatterArrayMPI(glob, loc, root, true ); break;
00820         case PX_OFT : PxScatterArrayOFT(glob, loc, root, bdata); break;
00821         case PX_SBT :
00822         default         : PxScatterArraySBT(glob, loc, root, bdata);
00823     }
00824 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:41 2010 for ImpalaSrc by  doxygen 1.5.1