Definition at line 498 of file PxPartition.h. References _fullH, _fullW, PxLclStartX(), PxLclStartY(), and PxLclStartZ(). Referenced by PxGatherArrayOFT(), PxGatherArraySBT(), PxLclArrayCopy(), PxScatterArrayOFT(), and PxScatterArraySBT(). 00499 { 00500 /* Gives index in global array representing the start of the 00501 * partial array for which CPU 'cpu' is responsible - INCLUDING 00502 * any potential borders surrounding the array structure. 00503 * 00504 * BEWARE: Dependent on array data layout in memory!!! 00505 */ 00506 00507 int realW = _fullW + 2 * bw; 00508 int realH = _fullH + 2 * bh; 00509 00510 return (((PxLclStartZ(cpu) + bd) * realW * realH) + 00511 ((PxLclStartY(cpu) + bh) * realW) + 00512 ((PxLclStartX(cpu) + bw))); 00513 }
Here is the call graph for this function:
|