| 50 | |
| 51 | template < geode::index_t dimension > |
| 52 | std::vector< geode::BoundingBox< dimension > > create_box_vector( |
| 53 | geode::index_t nb_box_range, double box_size ) |
| 54 | { |
| 55 | std::vector< geode::BoundingBox< dimension > > box_vector( |
| 56 | nb_box_range * nb_box_range ); |
| 57 | for( const auto i : geode::Range{ nb_box_range } ) |
| 58 | { |
| 59 | for( const auto j : geode::Range{ nb_box_range } ) |
| 60 | { |
| 61 | geode::Point< dimension > point; |
| 62 | point.set_value( 0, i ); |
| 63 | point.set_value( 1, j ); |
| 64 | box_vector[nb_box_range * i + j] = |
| 65 | create_bounding_box( point, box_size ); |
| 66 | } |
| 67 | } |
| 68 | return box_vector; |
| 69 | } |
| 70 | |
| 71 | geode::index_t global_box_index( |
| 72 | geode::index_t i, geode::index_t j, geode::index_t size ) |
nothing calls this directly
no test coverage detected