XGC1
Public Member Functions | Public Attributes | List of all members
SortViews< Device > Struct Template Reference

#include <sort.hpp>

Public Member Functions

 SortViews (int n_ptl, int n_bins)
 
void increase_key_max (int n_ptl)
 
void increase_bin_max (int n_bins)
 

Public Attributes

Kokkos::View< double **, Kokkos::LayoutRight, Device > tmp_const
 Temporary array for sorting. More...
 
Kokkos::View< int *, Kokkos::LayoutRight, Device > iperm
 New order of data to be sorted. More...
 
Kokkos::View< int *, Kokkos::LayoutRight, Device > key
 Sorting key. More...
 
Kokkos::View< int *, Kokkos::LayoutRight, Device > count
 How many particles in each bin. More...
 
Kokkos::View< unsigned int *, Kokkos::LayoutRight, Device > place
 Where we are in the particle list. More...
 

Constructor & Destructor Documentation

◆ SortViews()

template<class Device >
SortViews< Device >::SortViews ( int  n_ptl,
int  n_bins 
)
inline

Member Function Documentation

◆ increase_bin_max()

template<class Device >
void SortViews< Device >::increase_bin_max ( int  n_bins)
inline
Here is the caller graph for this function:

◆ increase_key_max()

template<class Device >
void SortViews< Device >::increase_key_max ( int  n_ptl)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ count

template<class Device >
Kokkos::View<int*,Kokkos::LayoutRight,Device> SortViews< Device >::count

How many particles in each bin.

◆ iperm

template<class Device >
Kokkos::View<int*,Kokkos::LayoutRight,Device> SortViews< Device >::iperm

New order of data to be sorted.

◆ key

template<class Device >
Kokkos::View<int*,Kokkos::LayoutRight,Device> SortViews< Device >::key

Sorting key.

◆ place

template<class Device >
Kokkos::View<unsigned int*,Kokkos::LayoutRight,Device> SortViews< Device >::place

Where we are in the particle list.

◆ tmp_const

template<class Device >
Kokkos::View<double**,Kokkos::LayoutRight,Device> SortViews< Device >::tmp_const

Temporary array for sorting.


The documentation for this struct was generated from the following file: