walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T > Class Template Reference

Detailed Description

template<typename CellCounter_T, typename FluidCellCounter_T>
class walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >

Class for evaluating the performance of LBM simulations.

#include <PerformanceEvaluation.h>

+ Inheritance diagram for walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >:

Public Member Functions

 PerformanceEvaluationBase (const weak_ptr< StructuredBlockStorage > &blocks, const CellCounter_T &cellCounter, const FluidCellCounter_T &fluidCellCounter, const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet())
 
void refresh ()
 
void logResultOnRoot (const uint_t timeSteps, const double time) const
 
void logInfoOnRoot (const uint_t timeSteps, const double time) const
 
std::string loggingString (const uint_t timeSteps, const double time) const
 
void getResultsForSQLOnRoot (std::map< std::string, int > &integerProperties, std::map< std::string, double > &realProperties, std::map< std::string, std::string > &stringProperties, const uint_t timeSteps, const double time)
 
int threads () const
 
int cores () const
 
uint64_t allFineCells () const
 
double mlups (const uint_t timeSteps, const double time) const
 
double mlupsPerProcess (const uint_t timeSteps, const double time) const
 
double mlupsPerCore (const uint_t timeSteps, const double time) const
 
double vMlups (const uint_t timeSteps, const double time) const
 
double vMlupsPerProcess (const uint_t timeSteps, const double time) const
 
double vMlupsPerCore (const uint_t timeSteps, const double time) const
 
double mflups (const uint_t timeSteps, const double time) const
 
double mflupsPerProcess (const uint_t timeSteps, const double time) const
 
double mflupsPerCore (const uint_t timeSteps, const double time) const
 
double vMflups (const uint_t timeSteps, const double time) const
 
double vMflupsPerProcess (const uint_t timeSteps, const double time) const
 
double vMflupsPerCore (const uint_t timeSteps, const double time) const
 
double fineTimeStepsPerSecond (const uint_t timeSteps, const double time) const
 

Static Public Member Functions

static int processes ()
 
static double timeStepsPerSecond (const uint_t timeSteps, const double time)
 

Private Attributes

int threadsPerProcess_
 
int threadsPerCore_
 
weak_ptr< StructuredBlockStorageblocks_
 
uint_t levels_
 
CellCounter_T cells_
 
FluidCellCounter_T fluidCells_
 

Constructor & Destructor Documentation

◆ PerformanceEvaluationBase()

template<typename CellCounter_T , typename FluidCellCounter_T >
walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::PerformanceEvaluationBase ( const weak_ptr< StructuredBlockStorage > &  blocks,
const CellCounter_T &  cellCounter,
const FluidCellCounter_T &  fluidCellCounter,
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet() 
)

Member Function Documentation

◆ allFineCells()

template<typename CellCounter_T , typename FluidCellCounter_T >
uint64_t walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::allFineCells ( ) const
inline

◆ cores()

template<typename CellCounter_T , typename FluidCellCounter_T >
int walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::cores ( ) const
inline

◆ fineTimeStepsPerSecond()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::fineTimeStepsPerSecond ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ getResultsForSQLOnRoot()

template<typename CellCounter_T , typename FluidCellCounter_T >
void walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::getResultsForSQLOnRoot ( std::map< std::string, int > &  integerProperties,
std::map< std::string, double > &  realProperties,
std::map< std::string, std::string > &  stringProperties,
const uint_t  timeSteps,
const double  time 
)

◆ loggingString()

template<typename CellCounter_T , typename FluidCellCounter_T >
std::string walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::loggingString ( const uint_t  timeSteps,
const double  time 
) const

◆ logInfoOnRoot()

template<typename CellCounter_T , typename FluidCellCounter_T >
void walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::logInfoOnRoot ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ logResultOnRoot()

template<typename CellCounter_T , typename FluidCellCounter_T >
void walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::logResultOnRoot ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mflups()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mflups ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mflupsPerCore()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mflupsPerCore ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mflupsPerProcess()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mflupsPerProcess ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mlups()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mlups ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mlupsPerCore()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mlupsPerCore ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ mlupsPerProcess()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::mlupsPerProcess ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ processes()

template<typename CellCounter_T , typename FluidCellCounter_T >
static int walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::processes ( )
inlinestatic

◆ refresh()

template<typename CellCounter_T , typename FluidCellCounter_T >
void walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::refresh

◆ threads()

template<typename CellCounter_T , typename FluidCellCounter_T >
int walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::threads ( ) const
inline

◆ timeStepsPerSecond()

template<typename CellCounter_T , typename FluidCellCounter_T >
static double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::timeStepsPerSecond ( const uint_t  timeSteps,
const double  time 
)
inlinestatic

◆ vMflups()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMflups ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ vMflupsPerCore()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMflupsPerCore ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ vMflupsPerProcess()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMflupsPerProcess ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ vMlups()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMlups ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ vMlupsPerCore()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMlupsPerCore ( const uint_t  timeSteps,
const double  time 
) const
inline

◆ vMlupsPerProcess()

template<typename CellCounter_T , typename FluidCellCounter_T >
double walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::vMlupsPerProcess ( const uint_t  timeSteps,
const double  time 
) const
inline

Member Data Documentation

◆ blocks_

template<typename CellCounter_T , typename FluidCellCounter_T >
weak_ptr< StructuredBlockStorage > walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::blocks_
private

◆ cells_

template<typename CellCounter_T , typename FluidCellCounter_T >
CellCounter_T walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::cells_
private

◆ fluidCells_

template<typename CellCounter_T , typename FluidCellCounter_T >
FluidCellCounter_T walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::fluidCells_
private

◆ levels_

template<typename CellCounter_T , typename FluidCellCounter_T >
uint_t walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::levels_
private

◆ threadsPerCore_

template<typename CellCounter_T , typename FluidCellCounter_T >
int walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::threadsPerCore_
private

◆ threadsPerProcess_

template<typename CellCounter_T , typename FluidCellCounter_T >
int walberla::lbm::PerformanceEvaluationBase< CellCounter_T, FluidCellCounter_T >::threadsPerProcess_
private

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