XGC1
|
#include "globals.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "boundaries.hpp"
#include "perturbed_B_field.hpp"
#include "push_physics.hpp"
Functions | |
template<class Device , KinType KT, PhiInterpType PIT> | |
KOKKOS_INLINE_FUNCTION void | particle_push_c (const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const GridFieldPack< Device, PIT > &gfpack, const PushControls &push_controls, const Species< Device > &species, const PerturbedBField< Device > &perturbed_B_field, const HeatDiagnostics< Device > &heat_diag, const Neutrals< Device > &neutrals, const Sheath< Device > &sheath, double dt, int ncycles, int i_item) |
KOKKOS_INLINE_FUNCTION void particle_push_c | ( | const Grid< Device > & | grid, |
const MagneticField< Device > & | magnetic_field, | ||
const GridFieldPack< Device, PIT > & | gfpack, | ||
const PushControls & | push_controls, | ||
const Species< Device > & | species, | ||
const PerturbedBField< Device > & | perturbed_B_field, | ||
const HeatDiagnostics< Device > & | heat_diag, | ||
const Neutrals< Device > & | neutrals, | ||
const Sheath< Device > & | sheath, | ||
double | dt, | ||
int | ncycles, | ||
int | i_item | ||
) |
Push particles, ie update their phases
[in] | part | Particle AoSoA |
[in] | i_item | Particle/vector index |