-
Notifications
You must be signed in to change notification settings - Fork 60
Grid Halo
Sam Reeve edited this page Sep 15, 2023
·
2 revisions
The Cabana::Grid Halo enables grid data uniquely owned by one rank to be shared with neighboring ranks as ghost data. The grid Halo class stores the communication plan and the gather and scatter functions perform the communication.
auto scalar_grid_field =
Cabana::Grid::createArray<double, device_type>( "scalar_grid_field", scalar_layout );
auto scalar_halo = Cabana::Grid::createHalo( *scalar_grid_field, Cabana::Grid::FullHaloPattern() );This is part of the Programming Guide series
Cabana - A Co-Designed Library for Exascale Particle Simulations