Partitions threads
WavKinS.get_partition — Functionget_partition(Mx, My, nthreads, nthx=0, nthy=0)Return nthreads vectors of indices partitioning Mx × My grid points for multithreading.
nthx: number of cuts in the $x$ directionnthy: number of cuts in the $y$ direction
We must have nthx × nthy == nthreads.
WavKinS.get_partition — Methodget_partition(M, nthreads)Return nthreads vectors of indices partitioning M grid points for multithreading