[inline]
Definition at line 54 of file PxDistribution.h.
References _logCPUs, _maxCPUs, _myCPU, _nrCPUs, PxInitPartition(), PxMyCPU(), and PxNrCPUs().
Referenced by PxArrayPreStateTrans().
00056 { 00057 _myCPU = PxMyCPU(); 00058 _nrCPUs = PxNrCPUs(); 00059 _logCPUs = log((double)_nrCPUs)/log(2.0); 00060 _maxCPUs = pow((double)2, _logCPUs); 00061 if (_maxCPUs < _nrCPUs) { 00062 _logCPUs++; 00063 _maxCPUs *= 2; 00064 } 00065 PxInitPartition(aw, ah, ad, xcpus, ycpus, zcpus); 00066 }
Here is the call graph for this function: