XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
cpp_boundaries.hpp File Reference
#include "cpp_sheath.hpp"
#include "cpp_boundaries.tpp"
Include dependency graph for cpp_boundaries.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Device >
KOKKOS_INLINE_FUNCTION void boundaries (const Simulation< Device > &sml, const Species< Device > &species, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Charge< Device > &charge, const Sheath< Device > &sheath, const SheathParticles< Device > &sheath_particles, const Neutrals< Device > &neutrals, const HeatDiagnostics< Device > &heat_diag, SimdParticles &part_tmp, const SimdParticles &part_one, Simd< int > &itr, int i_item)
 

Function Documentation

template<class Device >
KOKKOS_INLINE_FUNCTION void boundaries ( const Simulation< Device > &  sml,
const Species< Device > &  species,
const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
const Charge< Device > &  charge,
const Sheath< Device > &  sheath,
const SheathParticles< Device > &  sheath_particles,
const Neutrals< Device > &  neutrals,
const HeatDiagnostics< Device > &  heat_diag,
SimdParticles part_tmp,
const SimdParticles part_one,
Simd< int > &  itr,
int  i_item 
)

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]itrThe 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: