RegularPartners(const Decomposer_& decomposer, int k, bool contiguous = true): divisions_(decomposer.divisions), contiguous_(contiguous) { factor(k, divisions_, kvs_); fill_steps(); }
RegularPartners(const DivisionVector& divs, const KVSVector& kvs, bool contiguous = true): divisions_(divs), kvs_(kvs), contiguous_(contiguous) { fill_steps(); }
RegularPartners(int dim, int nblocks, int k, bool contiguous = true): divisions_(dim, 0), contiguous_(contiguous) { Decomposer::fill_divisions(dim, nblocks, divisions_); factor(k, divisions_, kvs_); fill_steps(); }