template<unsigned int dim, typename T, template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
class CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >
Definition at line 33 of file CellListFast_gen.hpp.
|
const Prock< dim, CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type > > & | getCellSFC () const |
| Get the space filling curve object.
|
|
void | init_SFC () |
| Initialize Space-filling-curve (SFC)
|
|
Prock< dim, CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type > >::Pit | getIterator () |
| return the celllist iterator (across cells)
|
|
void | Initialize (const Box< dim, T > &box, const size_t(&div)[dim], const size_t pad=1, size_t slot=STARTING_NSLOT) |
|
const openfpm::vector< size_t > & | getKeys () |
| Return cellkeys vector.
|
|
size_t | get_gm () |
| return the ghost marker
|
|
void | set_gm (size_t g_m) |
| Set the ghost marker.
|
|
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
size_t CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::get_gm |
( |
| ) |
|
|
inline |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
const Prock< dim, CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type > > & CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::getCellSFC |
( |
| ) |
const |
|
inline |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
Prock< dim, CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type > >::Pit CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::getIterator |
( |
| ) |
|
|
inline |
return the celllist iterator (across cells)
- Returns
- an iterator
Definition at line 130 of file CellListFast_gen.hpp.
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
void CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::init_SFC |
( |
| ) |
|
|
inline |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
void CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::Initialize |
( |
const Box< dim, T > & |
box, |
|
|
const size_t(&) |
div[dim], |
|
|
const size_t |
pad = 1 , |
|
|
size_t |
slot = STARTING_NSLOT |
|
) |
| |
|
inline |
Initialize the cell list
- Parameters
-
box | Domain where this cell list is living |
div | grid size on each dimension |
g_m_new | A ghost marker |
pad | padding cell |
slot | maximum number of slot |
Definition at line 146 of file CellListFast_gen.hpp.
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
void CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::initialize_sfc |
( |
size_t |
pad | ) |
|
|
inlineprivate |
Initialize the space-filling-curve.
- Parameters
-
pad | padding of the cell-list |
Definition at line 52 of file CellListFast_gen.hpp.
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
void CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::set_gm |
( |
size_t |
g_m | ) |
|
|
inline |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
size_t CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::g_m = 0 |
|
private |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
bool CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::init_sfc |
|
private |
template<unsigned int dim, typename T , template< unsigned int, typename > class Prock, typename Mem_type = Mem_fast<>, typename transform = no_transform<dim,T>, typename vector_pos_type = openfpm::vector<Point<dim,T>>>
Prock<dim,CellList_gen<dim,T,Prock,Mem_type,transform,vector_pos_type> > CellList_gen< dim, T, Prock, Mem_type, transform, vector_pos_type >::SFC |
|
private |
It is an object that indicate which space filling curve to use for the iteration across cells
Definition at line 42 of file CellListFast_gen.hpp.