Loading...
Searching...
No Matches
MetaDRestart.cpp File Reference
#include "MetaDRestart.h"
#include "MetaDGrid.h"
#include "MetaDHills.h"
#include "core/Action.h"
#include "core/Checkpointing.h"
#include "tools/H5Table.h"
#include "core/PlumedMain.h"
#include "tools/Communicator.h"
#include "tools/File.h"
#include "tools/FileTools.h"
#include "tools/Keywords.h"
#include "tools/Log.h"
#include <exception>
#include <filesystem>
#include <limits>
#include <numeric>
#include <vector>

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)