예제 #1
0
 RegularPartners(const Decomposer_& decomposer, int k, bool contiguous = true):
   divisions_(decomposer.divisions),
   contiguous_(contiguous)                       { factor(k, divisions_, kvs_); fill_steps(); }
예제 #2
0
 RegularPartners(const DivisionVector&   divs,
                 const KVSVector&        kvs,
                 bool  contiguous = true):
   divisions_(divs), kvs_(kvs),
   contiguous_(contiguous)                       { fill_steps(); }
예제 #3
0
파일: common.hpp 프로젝트: rhl-/diy2
 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(); }