XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 resize_key_max (int n_ptl)
 
void resize_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

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

Member Function Documentation

template<class Device>
void SortViews< Device >::resize_bin_max ( int  n_bins)
inline
template<class Device>
void SortViews< Device >::resize_key_max ( int  n_ptl)
inline

Here is the caller graph for this function:

Member Data Documentation

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

How many particles in each bin.

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

New order of data to be sorted.

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

Sorting key.

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

Where we are in the particle list.

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: