| 460 | |
| 461 | template <class T> |
| 462 | void Domain::get_tile_subarray(const T* tile_coords, T* tile_subarray) const { |
| 463 | for (unsigned d = 0; d < dim_num_; ++d) { |
| 464 | auto dim_dom = (const T*)domain(d).data(); |
| 465 | auto tile_extent = *(const T*)this->tile_extent(d).data(); |
| 466 | tile_subarray[2 * d] = |
| 467 | Dimension::tile_coord_low(tile_coords[d], dim_dom[0], tile_extent); |
| 468 | tile_subarray[2 * d + 1] = |
| 469 | Dimension::tile_coord_high(tile_coords[d], dim_dom[0], tile_extent); |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | template <class T> |
| 474 | void Domain::get_tile_subarray( |
no test coverage detected