template<unsigned int dim, typename T, typename Memory, template< typename > class layout_base>
class CartDecomposition_gpu< dim, T, Memory, layout_base >
Definition at line 77 of file CartDecomposition_gpu.cuh.
|
| CartDecomposition_gpu (CellList_cpu_ker< dim, T, Mem_fast_ker< Memory, memory_traits_lin, int >, shift< dim, T > > clk, ie_ghost_gpu< dim, T, Memory, layout_base > ieg, openfpm::vector_gpu_ker< Box_map< dim, T >, layout_base > sub_domains_global, const Box< dim, T > &domain, const int(&bc)[dim]) |
|
| CartDecomposition_gpu (const CartDecomposition_gpu< dim, T, Memory, layout_base > &dec) |
|
__device__ __host__ int | processorIDBC (const Point< dim, T > &p) |
| Given a point return in which processor the point/particle should go.
|
|
template<typename Mem > |
__device__ __host__ void | applyPointBC (encapc< 1, Point< dim, T >, Mem > &&pt) const |
| Apply boundary condition to the point.
|
|
__device__ __host__ int | processorID (const Point< dim, T > &pt) |
| Given a point return in which processor the particle should go.
|
|
| 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 Mem >
Apply boundary condition to the point.
If the particle go out to the right, bring back the particle on the left in case of periodic, nothing in case of non periodic
- Parameters
-
pt | encapsulated point object (it's coordinated are changed according the the explanation before) |
Definition at line 151 of file CartDecomposition_gpu.cuh.
template<unsigned int dim, typename T , typename Memory , template< typename > class layout_base>
Apply boundary condition to the point.
If the particle go out to the right, bring back the particle on the left in case of periodic, nothing in case of non periodic
- Parameters
-
pt | Point to apply the boundary conditions.(it's coordinated are changed according the the explanation before) |
Definition at line 96 of file CartDecomposition_gpu.cuh.
template<unsigned int dim, typename T , typename Memory , template< typename > class layout_base>
Given a point return in which processor the point/particle should go.
Boundary conditions are considered
- Parameters
-
- Returns
- processorID
Definition at line 134 of file CartDecomposition_gpu.cuh.