23 #include "StringMethod.h"
92 const std::vector<double>& centers,
93 unsigned int maxiterations,
94 unsigned int blockiterations,
96 const std::vector<double> cvspring,
98 unsigned int springiter,
99 unsigned int frequency) :
100 StringMethod(world, comm, centers, maxiterations, cvspring, frequency),
Collective variable manager.
Finite Temperature Spring Method.
unsigned int min_num_umbrella_steps_
Minimum number of steps to apply umbrella sampling.
unsigned int blockiterations_
Number of steps to block average the CV's postions over.
double tau_
Time step of string change.
~FiniteTempString()
Destructor.
std::vector< double > prev_CVs_
Stores the last positions of the CVs.
bool InCell(const CVList &cvs) const
Checks if CV is in Voronoi cell.
void PostIntegration(Snapshot *snapshot, const class CVManager &cvmanager) override
Method call post integration.
bool reset_for_umbrella
Flag for whether a system was to run umbrella sampling before checking against other systems.
int run_umbrella_
Flag to run umbrella or not during post-integration.
FiniteTempString(const MPI_Comm &world, const MPI_Comm &comm, const std::vector< double > ¢ers, unsigned int maxiterations, unsigned int blockiterations, double tau, const std::vector< double > cvspring, double kappa, unsigned int springiter, unsigned int frequency)
Constructor.
double kappa_
String modification parameter.
unsigned int umbrella_iter_
Iterator that keeps track of umbrella iterations.
void StringUpdate() override
Updates the string according to the FTS method.
Class containing a snapshot of the current simulation in time.
String base class for FTS, Swarm, and elastic band.
std::vector< std::vector< double > > prev_velocities_
Store velocities for starting trajectories.
std::vector< std::vector< double > > prev_positions_
Store positions for starting trajectories.
std::vector< std::vector< int > > prev_IDs_
Store atom IDs for starting trajectories.
std::vector< CollectiveVariable * > CVList
List of Collective Variables.