Local grid.
More...
#include <Cabana_Grid_GlobalGrid.hpp>
#include <Cabana_Grid_IndexSpace.hpp>
#include <Cabana_Grid_Types.hpp>
#include <array>
#include <memory>
#include <type_traits>
#include <vector>
#include <Cabana_Grid_LocalGrid_impl.hpp>
Go to the source code of this file.
|
namespace | Cabana |
| Core: particle data structures and algorithms.
|
|
◆ createLocalGrid()
template<class MeshType>
std::shared_ptr< LocalGrid< MeshType > > Cabana::Grid::createLocalGrid |
( |
const std::shared_ptr< GlobalGrid< MeshType > > & | global_grid, |
|
|
const int | halo_cell_width ) |
Create a local grid.
- Parameters
-
global_grid | The global grid from which the local grid will be constructed. |
halo_cell_width | The number of halo cells surrounding the locally owned cells. |
- Returns
- Shared pointer to a LocalGrid.