Go to the source code of this file.
|
| template<class Device > |
| KOKKOS_INLINE_FUNCTION void | get_current_triangles_c (const Species< Device > &species, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Kokkos::View< int *, Kokkos::LayoutRight, Device > ¤t_triangle, int) |
| |
◆ get_current_triangles_c()
template<class Device >
| KOKKOS_INLINE_FUNCTION void get_current_triangles_c |
( |
const Species< Device > & |
species, |
|
|
const Grid< Device > & |
grid, |
|
|
const MagneticField< Device > & |
magnetic_field, |
|
|
const Kokkos::View< int *, Kokkos::LayoutRight, Device > & |
current_triangle, |
|
|
int |
i_item |
|
) |
| |
Loop over particles and save the triangle they belong to
- Parameters
-
| [in] | part | Particle AoSoA |
| [in] | i_item | Particle/vector index |