-
Notifications
You must be signed in to change notification settings - Fork 50
Grid IndexSpace
Sam Reeve edited this page Sep 12, 2024
·
2 revisions
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.
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
Cabana - A Co-Designed Library for Exascale Particle Simulations