XGCa
|
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
Functions | |
template<class Device > | |
KOKKOS_INLINE_FUNCTION void | get_current_local_pid_c (const Species< Device > &species, const Grid< Device > &grid, const DomainDecomposition< Device > &pol_decomp, const MagneticField< Device > &magnetic_field, const Kokkos::View< int *, Kokkos::LayoutRight, Device > ¤t_pid, int i_item) |
template<class Device > | |
KOKKOS_INLINE_FUNCTION void | get_current_field_id_c (const Species< Device > &species, const Grid< Device > &grid, const DomainDecomposition< Device > &pol_decomp, const MagneticField< Device > &magnetic_field, const Kokkos::View< int *, Kokkos::LayoutRight, Device > ¤t_field_id, int i_item) |
KOKKOS_INLINE_FUNCTION void get_current_field_id_c | ( | const Species< Device > & | species, |
const Grid< Device > & | grid, | ||
const DomainDecomposition< Device > & | pol_decomp, | ||
const MagneticField< Device > & | magnetic_field, | ||
const Kokkos::View< int *, Kokkos::LayoutRight, Device > & | current_field_id, | ||
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 |
KOKKOS_INLINE_FUNCTION void get_current_local_pid_c | ( | const Species< Device > & | species, |
const Grid< Device > & | grid, | ||
const DomainDecomposition< Device > & | pol_decomp, | ||
const MagneticField< Device > & | magnetic_field, | ||
const Kokkos::View< int *, Kokkos::LayoutRight, Device > & | current_pid, | ||
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 |