XGC1
|
#include "globals.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "sheath.hpp"
#include "bounce.hpp"
#include "update_particle_flags.hpp"
Functions | |
template<class Device > | |
KOKKOS_INLINE_FUNCTION void | boundaries (const PushControls &push_controls, const Species< Device > &species, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Sheath< Device > &sheath, const Neutrals< Device > &neutrals, const HeatDiagnostics< Device > &heat_diag, SimdParticles &part_tmp, const SimdParticles &part_one, SimdGridWeights< Order::One, PIT_GLOBAL > &grid_wts, int i_item, int i_cycle) |
KOKKOS_INLINE_FUNCTION void boundaries | ( | const PushControls & | push_controls, |
const Species< Device > & | species, | ||
const Grid< Device > & | grid, | ||
const MagneticField< Device > & | magnetic_field, | ||
const Sheath< Device > & | sheath, | ||
const Neutrals< Device > & | neutrals, | ||
const HeatDiagnostics< Device > & | heat_diag, | ||
SimdParticles & | part_tmp, | ||
const SimdParticles & | part_one, | ||
SimdGridWeights< Order::One, PIT_GLOBAL > & | grid_wts, | ||
int | i_item, | ||
int | i_cycle | ||
) |
This is a routine called after a pushe substep to deal with particles that have left the domain: either left the grid, or left the equilibrium
[in,out] | part_tmp | The particle data after this pushe substep |
[in] | part_one | The particle data before this pushe substep |
[in] | grid_wts | The saved current triangle (to avoid recalculating it) |
[in] | i_item | The particle/vector index used for sheath mode 2 |