-
Notifications
You must be signed in to change notification settings - Fork 50
Grid Local Mesh
Sam Reeve edited this page Sep 12, 2024
·
2 revisions
The local mesh defines the geometry of the local domain, including sizes, extents, locations, and offsets with the global mesh.
The figure below shows one local domain, where geometric information is highlighted in blue:
int halo_width = 2;
auto local_grid = Cabana::Grid::createLocalGrid( global_grid, halo_width );
auto local_mesh = Cabana::Grid::createLocalMesh<device_type>( *local_grid );
This is part of the Programming Guide series
Cabana - A Co-Designed Library for Exascale Particle Simulations