Loading...
Searching...
No Matches
MetaDRestart.h File Reference
#include <string>
#include <vector>

Classes

struct  PLMD::bias::MetaDHillsInput
 The hills files of a bias when the action starts (METAD: one, PBMETAD: one for each family) More...
 
struct  PLMD::bias::MetaDWalkers
 The multiple walkers of METAD and PBMETAD: they share their hills through the hills files (WALKERS_N), each walker reading the files of the others every WALKERS_RSTRIDE steps, or through MPI (WALKERS_MPI), the walkers being the replicas, which all add the hills of all of them and write them in the same files. More...
 

Namespaces

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

Functions

std::vector< long long > PLMD::bias::readBiasGrid (Action &action, const MetaDWalkers &walkers, MetaDBiasGrid &grid, const std::string &filename, const std::string &funcl, const std::vector< Value * > &args, const std::vector< std::string > &gmin, const std::vector< std::string > &gmax, const std::vector< unsigned > &gbin, bool sparse, bool spline, bool nobounds)
 Read the bias from a grid file (METAD: GRID_RFILE, PBMETAD: one of GRID_RFILES), on the lattice of the grid given in input (see MetaDBiasGrid::read).
 
void PLMD::bias::readHillsAtStart (Action &action, MetaDWalkers &walkers, const std::vector< MetaDHillsInput > &inputs, bool restartedFromGrid, MetaDHillSchedule &schedule, bool fromCheckpoint=false)
 Open the hills files of all the walkers when the action starts, and read them:
 
void PLMD::bias::readOtherWalkersHills (Action &action, const MetaDWalkers &walkers, const std::vector< MetaDHillsFiles * > &files)
 WALKERS_N: add the hills that the other walkers have written in their files since the last read (the files that did not exist yet are opened, if they exist now)