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

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

Definition at line 1069 of file PxDistribution.h.

References dp, PX_COUT, PX_ENDL, PX_MPI, PX_OFT, PX_SBT, PxGatherArrayMPI(), PxGatherArrayOFT(), and PxGatherArraySBT().

Referenced by PxArrayPreStateTrans().

01071 {
01072     /*** root  : rank of receiving node                             ***/
01073     /*** dtype : distribution type (PX_OFT, PX_SBT, or PX_MP)       ***/
01074     /*** bdata : indicates whether border data is gathered as well  ***/
01075     
01076 if (dp) PX_COUT << "Gather..." << PX_ENDL;
01077 
01078     switch (dtype) {
01079         case PX_MPI : PxGatherArrayMPI(glob, loc, root, true ); break;
01080         case PX_OFT : PxGatherArrayOFT(glob, loc, root, bdata); break;
01081         case PX_SBT :
01082         default         : PxGatherArraySBT(glob, loc, root, bdata);
01083     }
01084 }

Here is the call graph for this function:


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