XGC1
|
#include "globals.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
Functions | |
template<class Device > | |
KOKKOS_INLINE_FUNCTION void | get_current_node_c (const Species< Device > &species, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Kokkos::View< int *, Kokkos::LayoutRight, Device > ¤t_node, int i_item) |
KOKKOS_INLINE_FUNCTION void get_current_node_c | ( | const Species< Device > & | species, |
const Grid< Device > & | grid, | ||
const MagneticField< Device > & | magnetic_field, | ||
const Kokkos::View< int *, Kokkos::LayoutRight, Device > & | current_node, | ||
int | i_item | ||
) |
Loop over particles and determine what processor they should be handed off to after the push
[in] | part | Particle AoSoA |
[in] | i_item | Particle/vector index |