Loading [MathJax]/extensions/tex2jax.js
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PLMD::ves::VesTools Class Reference

#include <VesTools.h>

Static Public Member Functions

static void convertDbl2Str (const double value, std::string &str)
 
static void convertDbl2Str (const double value, std::string &str, unsigned int precision)
 
static void copyGridValues (GridBase *grid_pntr_orig, GridBase *grid_pntr_copy)
 
static unsigned int getGridFileInfo (const std::string &, std::string &, std::vector< std::string > &, std::vector< std::string > &, std::vector< std::string > &, std::vector< bool > &, std::vector< unsigned int > &, bool &)
 
template<typename T>
static std::vector< std::string > getLabelsOfAvailableActions (const ActionSet &)
 
template<typename T>
static T getPointerFromLabel (const std::string &, const ActionSet &, std::string &)
 
template<typename T>
static std::vector< T > getPointersFromLabels (const std::vector< std::string > &, const ActionSet &, std::string &)
 
static unsigned int log2 (unsigned value)
 

Member Function Documentation

◆ convertDbl2Str() [1/2]

void PLMD::ves::VesTools::convertDbl2Str ( const double value,
std::string & str )
inlinestatic

◆ convertDbl2Str() [2/2]

void PLMD::ves::VesTools::convertDbl2Str ( const double value,
std::string & str,
unsigned int precision )
inlinestatic

◆ copyGridValues()

void PLMD::ves::VesTools::copyGridValues ( GridBase * grid_pntr_orig,
GridBase * grid_pntr_copy )
static

◆ getGridFileInfo()

unsigned int PLMD::ves::VesTools::getGridFileInfo ( const std::string & filepath,
std::string & grid_label,
std::vector< std::string > & arg_labels,
std::vector< std::string > & arg_min,
std::vector< std::string > & arg_max,
std::vector< bool > & arg_periodic,
std::vector< unsigned int > & arg_nbins,
bool & derivatives )
static

◆ getLabelsOfAvailableActions()

template<typename T>
std::vector< std::string > PLMD::ves::VesTools::getLabelsOfAvailableActions ( const ActionSet & actionset)
static

◆ getPointerFromLabel()

template<typename T>
T PLMD::ves::VesTools::getPointerFromLabel ( const std::string & action_label,
const ActionSet & actionset,
std::string & error_msg )
static

◆ getPointersFromLabels()

template<typename T>
std::vector< T > PLMD::ves::VesTools::getPointersFromLabels ( const std::vector< std::string > & action_labels,
const ActionSet & actionset,
std::string & error_msg )
static

◆ log2()

static unsigned int PLMD::ves::VesTools::log2 ( unsigned value)
static

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