XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
GeneratePermutation< Device > Class Template Reference

#include <gen_perm.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION void ZeroCount (const int i) const
 
KOKKOS_INLINE_FUNCTION void FillCount (const int i, const TmpSpecies< Device > &tmp_species) const
 
KOKKOS_INLINE_FUNCTION void LocalCount (const int i) const
 
KOKKOS_INLINE_FUNCTION void SectCount (const int i) const
 
KOKKOS_INLINE_FUNCTION void CountOffset (const int i) const
 
KOKKOS_INLINE_FUNCTION void WritePerm (const int i, const TmpSpecies< Device > &tmp_species) const
 
void get_sort_count (int *sort_count_out) const
 
 GeneratePermutation (int nbins)
 

Public Attributes

Kokkos::View< int
*, Kokkos::LayoutRight, Device > 
sort_count
 How many particles in each bin. More...
 
Kokkos::View< unsigned int
*, Kokkos::LayoutRight, Device > 
sort_place
 Where we are in the particle list. More...
 
Kokkos::View< int
*, Kokkos::LayoutRight, Device > 
sort_igroup
 Which group is currently being evaluated. More...
 
Kokkos::View< int
*, Kokkos::LayoutRight, Device > 
params
 
int h_params [4]
 

Constructor & Destructor Documentation

template<class Device >
GeneratePermutation< Device >::GeneratePermutation ( int  nbins)

Constructor for permutation generation class

Here is the call graph for this function:

Member Function Documentation

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::CountOffset ( const int  i) const

Increment sort group

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::FillCount ( const int  i,
const TmpSpecies< Device > &  tmp_species 
) const

Loop over particles, populate the count

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

template<class Device >
void GeneratePermutation< Device >::get_sort_count ( int *  sort_count_out) const

Here is the call graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::LocalCount ( const int  i) const

Compute local places

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::SectCount ( const int  i) const

sect_count

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::WritePerm ( const int  i,
const TmpSpecies< Device > &  tmp_species 
) const

Write out the permutation array

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void GeneratePermutation< Device >::ZeroCount ( const int  i) const

Initialize count at zero

Parameters
[in]i_indLoop index

Here is the caller graph for this function:

Member Data Documentation

template<class Device>
int GeneratePermutation< Device >::h_params[4]
template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,Device> GeneratePermutation< Device >::params
template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,Device> GeneratePermutation< Device >::sort_count

How many particles in each bin.

template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,Device> GeneratePermutation< Device >::sort_igroup

Which group is currently being evaluated.

template<class Device>
Kokkos::View<unsigned int*,Kokkos::LayoutRight,Device> GeneratePermutation< Device >::sort_place

Where we are in the particle list.


The documentation for this class was generated from the following files: