26 #ifndef TILEDARRAY_PMAP_BLOCKED_PMAP_H__INCLUDED
27 #define TILEDARRAY_PMAP_BLOCKED_PMAP_H__INCLUDED
49 const size_type block_size_plus_1_times_remainder_;
64 block_size_plus_1_(block_size_ + 1),
65 block_size_plus_1_times_remainder_(remainder_ * block_size_plus_1_),
66 local_first_(
rank_ * block_size_ +
68 local_last_((
rank_ + 1) * block_size_ +
81 return (tile < block_size_plus_1_times_remainder_
82 ? tile / block_size_plus_1_
83 : ((tile - block_size_plus_1_times_remainder_) / block_size_) +
92 return ((tile >= local_first_) && (tile < local_last_));
96 return Iterator(*
this, local_first_, local_last_, local_first_,
false);
99 return Iterator(*
this, local_first_, local_last_, local_last_,
false);
107 #endif // TILEDARRAY_PMAP_BLOCKED_PMAP_H__INCLUDED