Sparse Local grid and related implementations. More...
#include <Cabana_Grid_GlobalGrid.hpp>
#include <Cabana_Grid_IndexSpace.hpp>
#include <Cabana_Grid_SparseIndexSpace.hpp>
#include <Cabana_Grid_Types.hpp>
#include <array>
#include <vector>
#include <Cabana_Grid_SparseLocalGrid_impl.hpp>
Go to the source code of this file.
Classes | |
class | Cabana::Grid::Experimental::LocalGrid< SparseMesh< Scalar, NumSpaceDim > > |
Local logical grid specialized for sparse grid. More... | |
Namespaces | |
namespace | Cabana |
Core: particle data structures and algorithms. | |
Functions | |
template<class MeshType> | |
std::shared_ptr< LocalGrid< MeshType > > | Cabana::Grid::Experimental::createSparseLocalGrid (const std::shared_ptr< GlobalGrid< MeshType > > &global_grid, const int halo_cell_width, const int cell_num_per_tile_dim) |
Create a local grid. | |
Sparse Local grid and related implementations.
std::shared_ptr< LocalGrid< MeshType > > Cabana::Grid::Experimental::createSparseLocalGrid | ( | const std::shared_ptr< GlobalGrid< MeshType > > & | global_grid, |
const int | halo_cell_width, | ||
const int | cell_num_per_tile_dim ) |
Create a local grid.
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. |
cell_num_per_tile_dim | The number of local cells in each tile in each dimension. |