OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
ParticleBinning::AdaptBinsBase< BunchType > Class Template Referenceabstract

#include <AdaptBins.h>

Inheritance diagram for ParticleBinning::AdaptBinsBase< BunchType >:
Inheritance graph
Collaboration diagram for ParticleBinning::AdaptBinsBase< BunchType >:
Collaboration graph

Public Types

using value_type = typename BunchType::Layout_t::value_type
 
using size_type = typename BunchType::size_type
 
using bin_index_type = typename BunchType::bin_index_type
 
using hash_type = ippl::detail::hash_type< Kokkos::DefaultExecutionSpace::memory_space >
 

Public Member Functions

virtual ~AdaptBinsBase ()=default
 
virtual bin_index_type getCurrentBinCount () const =0
 
virtual const std::string & getBinningCmdName () const =0
 
virtual bin_index_type getMaxBinCount () const =0
 
virtual value_type getBinWidth () const =0
 
virtual value_type getXMin () const =0
 
virtual hash_type getHashArray ()=0
 
virtual void initLimits ()=0
 
virtual void instantiateHistogram (bool setToZero=false)=0
 
virtual void assignBinsToParticles ()=0
 
virtual void initLocalHisto (HistoReductionMode modePreference=HistoReductionMode::Standard)=0
 
virtual void executeInitLocalHistoReductionTeamFor ()=0
 
virtual void initGlobalHistogram ()=0
 
virtual void doFullRebin (bin_index_type nBins, bool recalculateLimits=true, HistoReductionMode modePreference=HistoReductionMode::Standard)=0
 
virtual void initHistogram (HistoReductionMode modePreference=HistoReductionMode::Standard)=0
 
virtual size_type getNPartInBin (bin_index_type binIndex, bool global=false)=0
 
virtual void sortContainerByBin ()=0
 
virtual Kokkos::RangePolicy getBinIterationPolicy (const bin_index_type &binIndex)=0
 
virtual void genAdaptiveHistogram ()=0
 
virtual value_type getBinConfigHost (std::vector< size_type > &binCounts, std::vector< value_type > &binWidths) const =0
 
virtual void print ()=0
 
virtual void debug ()=0
 

Detailed Description

template<typename BunchType>
class ParticleBinning::AdaptBinsBase< BunchType >

Definition at line 27 of file AdaptBins.h.

Member Typedef Documentation

◆ bin_index_type

template<typename BunchType >
using ParticleBinning::AdaptBinsBase< BunchType >::bin_index_type = typename BunchType::bin_index_type

Definition at line 31 of file AdaptBins.h.

◆ hash_type

template<typename BunchType >
using ParticleBinning::AdaptBinsBase< BunchType >::hash_type = ippl::detail::hash_type<Kokkos::DefaultExecutionSpace::memory_space>

Definition at line 32 of file AdaptBins.h.

◆ size_type

template<typename BunchType >
using ParticleBinning::AdaptBinsBase< BunchType >::size_type = typename BunchType::size_type

Definition at line 30 of file AdaptBins.h.

◆ value_type

template<typename BunchType >
using ParticleBinning::AdaptBinsBase< BunchType >::value_type = typename BunchType::Layout_t::value_type

Definition at line 29 of file AdaptBins.h.

Constructor & Destructor Documentation

◆ ~AdaptBinsBase()

template<typename BunchType >
virtual ParticleBinning::AdaptBinsBase< BunchType >::~AdaptBinsBase ( )
virtualdefault

Member Function Documentation

◆ assignBinsToParticles()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::assignBinsToParticles ( )
pure virtual

◆ debug()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::debug ( )
pure virtual

◆ doFullRebin()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::doFullRebin ( bin_index_type  nBins,
bool  recalculateLimits = true,
HistoReductionMode  modePreference = HistoReductionMode::Standard 
)
pure virtual

◆ executeInitLocalHistoReductionTeamFor()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::executeInitLocalHistoReductionTeamFor ( )
pure virtual

◆ genAdaptiveHistogram()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::genAdaptiveHistogram ( )
pure virtual

◆ getBinConfigHost()

template<typename BunchType >
virtual value_type ParticleBinning::AdaptBinsBase< BunchType >::getBinConfigHost ( std::vector< size_type > &  binCounts,
std::vector< value_type > &  binWidths 
) const
pure virtual

◆ getBinIterationPolicy()

template<typename BunchType >
virtual Kokkos::RangePolicy ParticleBinning::AdaptBinsBase< BunchType >::getBinIterationPolicy ( const bin_index_type binIndex)
pure virtual

◆ getBinningCmdName()

template<typename BunchType >
virtual const std::string & ParticleBinning::AdaptBinsBase< BunchType >::getBinningCmdName ( ) const
pure virtual

◆ getBinWidth()

template<typename BunchType >
virtual value_type ParticleBinning::AdaptBinsBase< BunchType >::getBinWidth ( ) const
pure virtual

◆ getCurrentBinCount()

template<typename BunchType >
virtual bin_index_type ParticleBinning::AdaptBinsBase< BunchType >::getCurrentBinCount ( ) const
pure virtual

◆ getHashArray()

template<typename BunchType >
virtual hash_type ParticleBinning::AdaptBinsBase< BunchType >::getHashArray ( )
pure virtual

◆ getMaxBinCount()

template<typename BunchType >
virtual bin_index_type ParticleBinning::AdaptBinsBase< BunchType >::getMaxBinCount ( ) const
pure virtual

◆ getNPartInBin()

template<typename BunchType >
virtual size_type ParticleBinning::AdaptBinsBase< BunchType >::getNPartInBin ( bin_index_type  binIndex,
bool  global = false 
)
pure virtual

◆ getXMin()

template<typename BunchType >
virtual value_type ParticleBinning::AdaptBinsBase< BunchType >::getXMin ( ) const
pure virtual

◆ initGlobalHistogram()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::initGlobalHistogram ( )
pure virtual

◆ initHistogram()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::initHistogram ( HistoReductionMode  modePreference = HistoReductionMode::Standard)
pure virtual

◆ initLimits()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::initLimits ( )
pure virtual

◆ initLocalHisto()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::initLocalHisto ( HistoReductionMode  modePreference = HistoReductionMode::Standard)
pure virtual

◆ instantiateHistogram()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::instantiateHistogram ( bool  setToZero = false)
pure virtual

◆ print()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::print ( )
pure virtual

◆ sortContainerByBin()

template<typename BunchType >
virtual void ParticleBinning::AdaptBinsBase< BunchType >::sortContainerByBin ( )
pure virtual

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