XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
sort.hpp File Reference
#include "domain_decomposition.hpp"
#include "grid.hpp"
#include "sheath.hpp"
Include dependency graph for sort.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SortViews< Device >
 

Functions

void sort_particles_by_triangle (SortViews< DeviceType > &sort_views, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const Species< DeviceType > &species, const SheathParticles< DeviceType > &sheath_particles, bool sort_sheath_ptl, bool sort_phase0)
 
void sort_particles_by_pid (SortViews< DeviceType > &sort_views, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const Species< DeviceType > &species, bool sort_phase0, bool plane_sort_only)
 
void sort_particles_by_key (SortViews< DeviceType > &sort_views, const Species< DeviceType > &species, int n_bins, Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &phase0, Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &dy_sum, bool sort_intermediate_values)
 
int sort_particles_by_field_id (SortViews< DeviceType > &sort_views, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const Species< DeviceType > &species, Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &phase0, Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &dy_sum, bool sort_intermediate_values)
 

Function Documentation

int sort_particles_by_field_id ( SortViews< DeviceType > &  sort_views,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Species< DeviceType > &  species,
Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &  phase0,
Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &  dy_sum,
bool  sort_intermediate_values 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_particles_by_key ( SortViews< DeviceType > &  sort_views,
const Species< DeviceType > &  species,
int  n_bins,
Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &  phase0,
Cabana::AoSoA< PhaseDataTypes, DeviceType, VEC_LEN > &  dy_sum,
bool  sort_intermediate_values 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_particles_by_pid ( SortViews< DeviceType > &  sort_views,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Species< DeviceType > &  species,
bool  sort_phase0,
bool  plane_sort_only 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sort_particles_by_triangle ( SortViews< DeviceType > &  sort_views,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const Species< DeviceType > &  species,
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: