XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
boundaries.tpp File Reference
#include "globals.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "sheath.hpp"
#include "bounce.hpp"
#include "update_particle_flags.hpp"
Include dependency graph for boundaries.tpp:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

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_tmpThe particle data after this pushe substep
[in]part_oneThe particle data before this pushe substep
[in]grid_wtsThe saved current triangle (to avoid recalculating it)
[in]i_itemThe particle/vector index used for sheath mode 2

Here is the call graph for this function:

Here is the caller graph for this function: