XGCa
|
#include <Kokkos_Atomic.hpp>
#include "globals.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "push_physics.hpp"
Functions | |
template<class Device , KinType KT, PhiInterpType PIT> | |
KOKKOS_INLINE_FUNCTION void | push_diagnostics_c (const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const GridFieldPack< Device, PIT > &gfpack, const PushDiagnostic< Device > &diag, const PushControls &push_controls, const Species< Device > &species, const PerturbedBField< Device > &perturbed_B_field, int i_item) |
KOKKOS_INLINE_FUNCTION void push_diagnostics_c | ( | const Grid< Device > & | grid, |
const MagneticField< Device > & | magnetic_field, | ||
const GridFieldPack< Device, PIT > & | gfpack, | ||
const PushDiagnostic< Device > & | diag, | ||
const PushControls & | push_controls, | ||
const Species< Device > & | species, | ||
const PerturbedBField< Device > & | perturbed_B_field, | ||
int | i_item | ||
) |
Loop over particles for their contribution to the push diagnostics
[in] | part | Particle AoSoA |
[in] | i_item | Particle/vector index |