Loading...
Searching...
No Matches
MetaDHills.cpp File Reference
#include "MetaDHills.h"
#include "tools/H5Table.h"
#include "tools/Checkpoint.h"
#include "MetaDGrid.h"
#include "core/ActionWithValue.h"
#include "core/Value.h"
#include "tools/Exception.h"
#include "tools/File.h"
#include "tools/FileTools.h"
#include "tools/Log.h"
#include "tools/Matrix.h"
#include "tools/Tools.h"
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <exception>
#include <filesystem>
#include <fstream>
#include <system_error>

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)