Skip to content

Grid IndexSpace

Sam Reeve edited this page Sep 12, 2024 · 2 revisions

Overview

Each index space represents a contiguous set of structured multidimensional indices which is then used to describe how to iterate over Cabana grids and arrays in parallel.

Implementation

Cabana_Grid_IndexSpace.hpp

Examples

Usage

Cabana::Grid::IndexSpace<1> is1( { 5 } );
Cabana::Grid::IndexSpace<2> is2( { 4, 3 }, { 8, 9 } );
Cabana::Grid::IndexSpace<3> is3( { 5, 4, 8 } );

This is part of the Programming Guide series

Clone this wiki locally