LevelS C++ support library
3.83
|
#include "share_utils.h"
Go to the source code of this file.
Functions | |
void | openmp_calc_share (int64 glo, int64 ghi, int64 &lo, int64 &hi) |
Various OpenMP-related convenience functions
Copyright (C) 2005-2011 Max-Planck-Society
Definition in file openmp_support.h.
|
inline |
Calculates the range of indices between glo and ghi which must be processed by this thread and returns it in lo and hi.
The indices ghi and hi are "one past the last real index", in analogy to the STL iterators.
Definition at line 82 of file openmp_support.h.