structure that store and compute the internal and external local ghost box. Version usable in kernel
More...
template<unsigned int dim, typename T, typename Memory, template< typename > class layout_base>
class ie_ghost_gpu< dim, T, Memory, layout_base >
structure that store and compute the internal and external local ghost box. Version usable in kernel
- Template Parameters
-
dim | is the dimensionality of the physical domain we are going to decompose. |
T | type of the space we decompose, Real, Integer, Complex ... |
- See also
- CartDecomposition
Definition at line 118 of file ie_ghost_gpu.cuh.
|
| ie_ghost_gpu (CellList_cpu_ker< dim, T, Mem_fast_ker< Memory, memory_traits_lin, int >, shift< dim, T > > geo_cell, openfpm::vector_gpu_ker< Box< dim, T >, layout_base > vb_int_box, openfpm::vector_gpu_ker< aggregate< unsigned int, unsigned int, unsigned int >, layout_base > vb_int) |
|
| ie_ghost_gpu (const ie_ghost_gpu< dim, T, Memory, layout_base > &ieg) |
|
__device__ unsigned int | ghost_processorID_cell (const Point< dim, T > &p) |
| Get the cell from the particle position.
|
|
__device__ unsigned int | ghost_processorID_N (const Point< dim, T > &p) |
| Get the number of processor a particle must sent.
|
|
template<typename output_type > |
__device__ void | ghost_processor_ID (const Point< dim, T > &p, output_type &output, unsigned int base, unsigned int pi) |
| Get the number of processor a particle must sent.
|
|
template<unsigned int dim, typename T , typename Memory , template< typename > class layout_base>
template<typename output_type >
__device__ void ie_ghost_gpu< dim, T, Memory, layout_base >::ghost_processor_ID |
( |
const Point< dim, T > & |
p, |
|
|
output_type & |
output, |
|
|
unsigned int |
base, |
|
|
unsigned int |
pi |
|
) |
| |
|
inline |
Get the number of processor a particle must sent.
- Parameters
-
p | position of the particle |
Definition at line 170 of file ie_ghost_gpu.cuh.