XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions
sort.cpp File Reference
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "get_current_triangles.hpp"
#include "get_current_pid.hpp"
#include "sheath.hpp"
#include "sort.hpp"
Include dependency graph for sort.cpp:

Classes

struct  VecParticlesSimple< T >
 
struct  OneParticle< T >
 

Functions

template<class Device >
void get_perm_array (const SortViews< Device > &sort_views, int n_ptl)
 
template<class DataType >
void sort_aosoa (const SortViews< DeviceType > &sort_views, const Cabana::AoSoA< DataType, DeviceType, VEC_LEN > &aosoa, int n_ptl)
 
void sort_sheath_particles (const SortViews< DeviceType > &sort_views, const SheathParticles< DeviceType > &sheath_particles, int n_ptl)
 
void sort_particles_by_triangle (const SortViews< DeviceType > &sort_views, const Grid< DeviceType > &grid, const TmpSpecies< DeviceType > &tmp_species, int n_ptl, const SheathParticles< DeviceType > &sheath_particles, bool sort_sheath_ptl, bool sort_phase0)
 
void sort_particles_by_pid (const SortViews< DeviceType > &sort_views, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const TmpSpecies< DeviceType > &tmp_species, int n_ptl, bool sort_phase0)
 

Function Documentation

template<class Device >
void get_perm_array ( const SortViews< Device > &  sort_views,
int  n_ptl 
)
inline

Generate the permutation array

Here is the call graph for this function:

Here is the caller graph for this function:

template<class DataType >
void sort_aosoa ( const SortViews< DeviceType > &  sort_views,
const Cabana::AoSoA< DataType, DeviceType, VEC_LEN > &  aosoa,
int  n_ptl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_particles_by_pid ( const SortViews< DeviceType > &  sort_views,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const TmpSpecies< DeviceType > &  tmp_species,
int  n_ptl,
bool  sort_phase0 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_particles_by_triangle ( const SortViews< DeviceType > &  sort_views,
const Grid< DeviceType > &  grid,
const TmpSpecies< DeviceType > &  tmp_species,
int  n_ptl,
const SheathParticles< DeviceType > &  sheath_particles,
bool  sort_sheath_ptl,
bool  sort_phase0 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_sheath_particles ( const SortViews< DeviceType > &  sort_views,
const SheathParticles< DeviceType > &  sheath_particles,
int  n_ptl 
)

Here is the call graph for this function:

Here is the caller graph for this function: