XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
get_current_local_pid.hpp File Reference
#include "domain_decomposition.hpp"
#include "get_current_local_pid.tpp"
Include dependency graph for get_current_local_pid.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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 > &current_pid, int)
 
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 > &current_field_id, int)
 

Function Documentation

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 > &  current_field_id,
int  i_item 
)

Loop over particles and determine what processor they should be handed off to after the push

Parameters
[in]partParticle AoSoA
[in]i_itemParticle/vector index

Here is the call graph for this function:

Here is the caller graph for this function:

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 > &  current_pid,
int  i_item 
)

Loop over particles and determine what processor they should be handed off to after the push

Parameters
[in]partParticle AoSoA
[in]i_itemParticle/vector index

Here is the call graph for this function:

Here is the caller graph for this function: