Definition at line 520 of file PxPartition.h. References _backCPU, _downCPU, _frontCPU, _fullD, _fullH, _fullW, _leftCPU, _minLocalD, _minLocalH, _minLocalW, _myCPU, _overflowX, _overflowY, _overflowZ, _rightCPU, _upCPU, _xCPUs, _yCPUs, _zCPUs, PxIsBackCPU(), PxIsBottomCPU(), PxIsFrontCPU(), PxIsLeftCPU(), PxIsRightCPU(), PxIsTopCPU(), and PxMyCPU(). Referenced by PxInitDistribution(), and PxRePartition(). 00522 { 00523 int _myCPU = PxMyCPU(); 00524 00525 _fullW = (aw < 1) ? 1 : aw; 00526 _fullH = (ah < 1) ? 1 : ah; 00527 _fullD = (ad < 1) ? 1 : ad; 00528 00529 _xCPUs = (xcpus < 1) ? 1 : xcpus; 00530 _yCPUs = (ycpus < 1) ? 1 : ycpus; 00531 _zCPUs = (zcpus < 1) ? 1 : zcpus; 00532 00533 _leftCPU = (PxIsLeftCPU(_myCPU)) ? -1 : _myCPU - 1; 00534 _rightCPU = (PxIsRightCPU(_myCPU)) ? -1 : _myCPU + 1; 00535 _upCPU = (PxIsTopCPU(_myCPU)) ? -1 : _myCPU - _xCPUs; 00536 _downCPU = (PxIsBottomCPU(_myCPU)) ? -1 : _myCPU + _xCPUs; 00537 _frontCPU = (PxIsFrontCPU(_myCPU)) ? -1 : _myCPU - (_xCPUs*_yCPUs); 00538 _backCPU = (PxIsBackCPU(_myCPU)) ? -1 : _myCPU + (_xCPUs*_yCPUs); 00539 00540 _minLocalW = _fullW / _xCPUs; 00541 _minLocalH = _fullH / _yCPUs; 00542 _minLocalD = _fullD / _zCPUs; 00543 00544 _overflowX = _fullW % _xCPUs; 00545 _overflowY = _fullH % _yCPUs; 00546 _overflowZ = _fullD % _zCPUs; 00547 }
Here is the call graph for this function:
|