LevelS C++ support library
3.83
|
Go to the source code of this file.
Classes | |
class | chunkMaker |
Functions | |
void | calcShareGeneral (int64 glo, int64 ghi, int64 nshares, int64 myshare, int64 &lo, int64 &hi) |
Various convenience functions for subdividing tasks into chunks
Copyright (C) 2002-2016 Max-Planck-Society
Definition in file share_utils.h.
|
inline |
Divides the index range [glo; ghi) into nshares approximately equal parts, and returns the sub-range [lo; hi) of the part with the number myshare (first part has index 0).
Definition at line 41 of file share_utils.h.