ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
 
Loading...
Searching...
No Matches
orb5x::SortingClass Class Reference

#include "sorting.hpp"

Public Member Functions

void apply_integer8 (const Kokkos::View< int64_t ** > &markers, Kokkos::View< int64_t ** > &sorted_markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_integer8_inplace (Kokkos::View< int64_t ** > &markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_logical (const Kokkos::View< bool ** > &markers, Kokkos::View< bool ** > &sorted_markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_logical_inplace (Kokkos::View< bool ** > &markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_real (const Kokkos::View< Real ** > &markers, Kokkos::View< Real ** > &sorted_markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_real4 (const Kokkos::View< float ** > &markers, Kokkos::View< float ** > &sorted_markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_real4_inplace (Kokkos::View< float ** > &markers, int np, int start_att, int end_att, bool nl_revert)
 
void apply_real_inplace (Kokkos::View< Real ** > &markers, int np, int start_att, int end_att, bool nl_revert)
 
void build_permutation (int np, const Kokkos::View< Real * > &x, const Kokkos::View< Real * > &y=Kokkos::View< Real * >(), const Kokkos::View< Real * > &z=Kokkos::View< Real * >())
 
const Kokkos::View< int ** > & get_displs () const
 
const Kokkos::View< int * > & get_inv_permut () const
 
int get_nbins () const
 
const Kokkos::View< int * > & get_permut () const
 
void init_device ()
 
void init_gpu ()
 
 SortingClass (int npalloc, bool nl_inplace, int ndim, Real xmin, Real xmax, int nx, Real ymin=0.0, Real ymax=0.0, int ny=1, Real zmin=0.0, Real zmax=0.0, int nz=1)
 
 ~SortingClass ()=default
 

Constructor & Destructor Documentation

◆ SortingClass()

orb5x::SortingClass::SortingClass ( int  npalloc,
bool  nl_inplace,
int  ndim,
Real  xmin,
Real  xmax,
int  nx,
Real  ymin = 0.0,
Real  ymax = 0.0,
int  ny = 1,
Real  zmin = 0.0,
Real  zmax = 0.0,
int  nz = 1 
)

◆ ~SortingClass()

orb5x::SortingClass::~SortingClass ( )
default

Member Function Documentation

◆ apply_integer8()

void orb5x::SortingClass::apply_integer8 ( const Kokkos::View< int64_t ** > &  markers,
Kokkos::View< int64_t ** > &  sorted_markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_integer8_inplace()

void orb5x::SortingClass::apply_integer8_inplace ( Kokkos::View< int64_t ** > &  markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_logical()

void orb5x::SortingClass::apply_logical ( const Kokkos::View< bool ** > &  markers,
Kokkos::View< bool ** > &  sorted_markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_logical_inplace()

void orb5x::SortingClass::apply_logical_inplace ( Kokkos::View< bool ** > &  markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_real()

void orb5x::SortingClass::apply_real ( const Kokkos::View< Real ** > &  markers,
Kokkos::View< Real ** > &  sorted_markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_real4()

void orb5x::SortingClass::apply_real4 ( const Kokkos::View< float ** > &  markers,
Kokkos::View< float ** > &  sorted_markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_real4_inplace()

void orb5x::SortingClass::apply_real4_inplace ( Kokkos::View< float ** > &  markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ apply_real_inplace()

void orb5x::SortingClass::apply_real_inplace ( Kokkos::View< Real ** > &  markers,
int  np,
int  start_att,
int  end_att,
bool  nl_revert 
)

◆ build_permutation()

void orb5x::SortingClass::build_permutation ( int  np,
const Kokkos::View< Real * > &  x,
const Kokkos::View< Real * > &  y = Kokkos::View< Real * >(),
const Kokkos::View< Real * > &  z = Kokkos::View< Real * >() 
)

◆ get_displs()

const Kokkos::View< int ** > & orb5x::SortingClass::get_displs ( ) const
inline

◆ get_inv_permut()

const Kokkos::View< int * > & orb5x::SortingClass::get_inv_permut ( ) const
inline

◆ get_nbins()

int orb5x::SortingClass::get_nbins ( ) const
inline

◆ get_permut()

const Kokkos::View< int * > & orb5x::SortingClass::get_permut ( ) const
inline

◆ init_device()

void orb5x::SortingClass::init_device ( )

◆ init_gpu()

void orb5x::SortingClass::init_gpu ( )

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