Public Member Functions | Private Attributes | List of all members
PLMD::function::FilesHandler Class Reference

Public Member Functions

 FilesHandler (const std::vector< std::string > &filenames, const bool &parallelread, Action &myaction, Log &mylog)
 
void getMinMaxBin (std::vector< Value * > vals, Communicator &cc, std::vector< double > &vmin, std::vector< double > &vmax, std::vector< unsigned > &vbin)
 
void getMinMaxBin (std::vector< Value * > vals, Communicator &cc, std::vector< double > &vmin, std::vector< double > &vmax, std::vector< unsigned > &vbin, const std::vector< double > &histosigma)
 
bool readBunch (BiasRepresentation *br, int stride)
 
bool scanOneHill (BiasRepresentation *br, IFile *ifile)
 

Private Attributes

Actionaction
 
unsigned beingread
 
std::vector< std::string > filenames
 
std::vector< std::unique_ptr< IFile > > ifiles
 
bool isopen
 
Loglog
 
bool parallelread
 

Constructor & Destructor Documentation

◆ FilesHandler()

PLMD::function::FilesHandler::FilesHandler ( const std::vector< std::string > &  filenames,
const bool &  parallelread,
Action myaction,
Log mylog 
)

Member Function Documentation

◆ getMinMaxBin() [1/2]

void PLMD::function::FilesHandler::getMinMaxBin ( std::vector< Value * >  vals,
Communicator cc,
std::vector< double > &  vmin,
std::vector< double > &  vmax,
std::vector< unsigned > &  vbin 
)

◆ getMinMaxBin() [2/2]

void PLMD::function::FilesHandler::getMinMaxBin ( std::vector< Value * >  vals,
Communicator cc,
std::vector< double > &  vmin,
std::vector< double > &  vmax,
std::vector< unsigned > &  vbin,
const std::vector< double > &  histosigma 
)

◆ readBunch()

bool PLMD::function::FilesHandler::readBunch ( BiasRepresentation br,
int  stride = -1 
)

◆ scanOneHill()

bool PLMD::function::FilesHandler::scanOneHill ( BiasRepresentation br,
IFile ifile 
)

Member Data Documentation

◆ action

Action* PLMD::function::FilesHandler::action
private

◆ beingread

unsigned PLMD::function::FilesHandler::beingread
private

◆ filenames

std::vector<std::string> PLMD::function::FilesHandler::filenames
private

◆ ifiles

std::vector<std::unique_ptr<IFile> > PLMD::function::FilesHandler::ifiles
private

◆ isopen

bool PLMD::function::FilesHandler::isopen
private

◆ log

Log* PLMD::function::FilesHandler::log
private

◆ parallelread

bool PLMD::function::FilesHandler::parallelread
private

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