Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana_Grid_LocalGrid.hpp File Reference

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>
Include dependency graph for Cabana_Grid_LocalGrid.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Cabana::Grid::LocalGrid< MeshType >
 Local logical grid. More...
 

Namespaces

namespace  Cabana
 Core: particle data structures and algorithms.
 

Functions

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.
 

Detailed Description

Local grid.

Function Documentation

◆ 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_gridThe global grid from which the local grid will be constructed.
halo_cell_widthThe number of halo cells surrounding the locally owned cells.
Returns
Shared pointer to a LocalGrid.