Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana::LinkedCellStencil< Scalar > Struct Template Reference

Stencil of cells surrounding each cell. More...

#include <Cabana_LinkedCellList.hpp>

Public Member Functions

 LinkedCellStencil ()
 Default Constructor.
 
 LinkedCellStencil (const Scalar neighborhood_radius, const Scalar cell_size_ratio, const Scalar grid_min[3], const Scalar grid_max[3])
 Constructor.
 
KOKKOS_INLINE_FUNCTION void getCells (const int cell, int &imin, int &imax, int &jmin, int &jmax, int &kmin, int &kmax) const
 Given a cell, get the index bounds of the cell stencil.
 

Public Attributes

Impl::CartesianGrid< Scalar > grid
 Background grid.
 
int max_cells_dir
 Maximum cells per dimension.
 
int max_cells
 Maximum total cells.
 
int cell_range
 Range of cells to search based on cutoff.
 

Detailed Description

template<class Scalar>
struct Cabana::LinkedCellStencil< Scalar >

Stencil of cells surrounding each cell.


The documentation for this struct was generated from the following file: