Go to the source code of this file.
|
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) |
|
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 |
|
) |
| |
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
- Parameters
-
[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 |