Loading...
Searching...
No Matches
MetaDHills.h File Reference
#include "MetaDKernel.h"
#include "tools/Communicator.h"
#include <deque>
#include <functional>
#include <limits>
#include <memory>
#include <string>
#include <vector>

Classes

struct  PLMD::bias::MetaDHillsFiles::Bias
 The bias to which the hills that are read are added (see readHills) More...
 
class  PLMD::bias::MetaDDiffusionRestart
 ADAPTIVE=DIFF: when restarting, the statistics of the fluctuations of the variables (running average and covariance) are initialized from the last hills of this walker in its hills file. More...
 
class  PLMD::bias::MetaDHillSchedule
 The steps when a hill is added: every stride steps, except the first step of a run. More...
 
class  PLMD::bias::MetaDHillsFiles
 The hills files of METAD and PBMETAD for a set of arguments: writing of the hills, and reading of the files of a restart or of the other walkers. More...
 

Namespaces

namespace  PLMD
 Fast (possibly busy-wait-based) barrier type.
 
namespace  PLMD::bias
 

Functions

void PLMD::bias::bcastString (Communicator &c, std::string &s)
 broadcast a string from process 0: the length is sent first, as on the other processes the string can have a different length (Communicator::Bcast of a string uses the local length)
 
std::string PLMD::bias::exactString (double x)
 shortest representation of x that is converted back to the same double
 
std::string PLMD::bias::removeIncompleteLastLine (const std::string &path)
 remove the last line of a hills file if it is incomplete (left by a run that was interrupted while writing it); returns the message for the log (empty if nothing was done)