10 #ifndef MULT_COMMON_TH_INCLUDED
11 #define MULT_COMMON_TH_INCLUDED
59 inline void set_threadtask_mult(
int& ith,
int& nth,
int& is,
int& ns,
63 nth = omp_get_num_threads();
64 ith = omp_get_thread_num();
74 is = size * (ith - 1) / (nth - 1);
76 ns = size * ith / (nth - 1);