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

int Impala::Core::Array::Pattern::PxLclStartZ ( int  cpu  )  [inline]

Definition at line 483 of file PxPartition.h.

References _minLocalD, _overflowZ, and PxGridIndexZ().

Referenced by PatGeometricOp(), PxLclStart(), and PxRedistArray().

00484 {
00485     /* Gives index in z-direction of global array representing the
00486      * start of the partial array for which CPU 'cpu' is responsible.
00487      */
00488             
00489     if (PxGridIndexZ(cpu) < _overflowZ) {
00490         return (PxGridIndexZ(cpu) * (_minLocalD + 1));
00491     } else {
00492         return (PxGridIndexZ(cpu) * _minLocalD + _overflowZ);
00493     }
00494 }

Here is the call graph for this function:


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