template<unsigned int dim, typename T, template< typename > class layout_base, typename Memory>
class domain_icell_calculator< dim, T, layout_base, Memory >
Definition at line 208 of file Domain_icells_cart.hpp.
|
template<typename VCluster_type > |
void | CalculateInternalCells (VCluster_type &v_cl, openfpm::vector< Box< dim, T >, Memory, layout_base > &ig_box, openfpm::vector< SpaceBox< dim, T >, Memory, layout_base > &domain, Box< dim, T > &pbox, T r_cut, const Ghost< dim, T > &enlarge) |
| Calculate the subdomain that are in the skin part of the domain.
|
|
openfpm::vector< aggregate< ids_type >, Memory, layout_base > & | getIcells () |
| Return the list of the internal cells.
|
|
openfpm::vector< aggregate< ids_type >, Memory, layout_base > & | getDcells () |
| Return the list of the internal cells.
|
|
Box< dim, T > | getBoxCell (unsigned int ci) |
| Given a cell index return the cell box.
|
|
const grid_sm< dim, void > & | getGrid () |
| Get the grid base information about this cell decomposition.
|
|
template<unsigned int dim, typename T , template< typename > class layout_base, typename Memory >
template<typename VCluster_type >
void domain_icell_calculator< dim, T, layout_base, Memory >::CalculateInternalCells |
( |
VCluster_type & |
v_cl, |
|
|
openfpm::vector< Box< dim, T >, Memory, layout_base > & |
ig_box, |
|
|
openfpm::vector< SpaceBox< dim, T >, Memory, layout_base > & |
domain, |
|
|
Box< dim, T > & |
pbox, |
|
|
T |
r_cut, |
|
|
const Ghost< dim, T > & |
enlarge |
|
) |
| |
|
inline |
Calculate the subdomain that are in the skin part of the domain.
+---+---+---+---+---+---+
| 1 | 2 | 3 | 4 | 5 | 6 |
+---+---+---+---+---+---+
|28 | | 7 |
+---+ +---+
|27 | | 8 |
+---+ +---+
|26 | | 9 |
+---+ DOM1 +---+
|25 | |10 |
+---+ +---+
|24 | |11 |
+---+ +---+---+
|23 | |13 |12 |
+---+-----------+---+---+
|22 | |14 |
+---+ +---+
|21 | DOM2 |15 |
+---+---+---+---+---+
|20 |19 |18 | 17|16 |
+---+---+---+---+---+ <----- Domain end here
|
^ |
|_____________|
It does it on GPU or CPU
Definition at line 257 of file Domain_icells_cart.hpp.