#include <colvarbias_meta.h>
Public Methods | |||||||||||
hill (cvm::step_number it, cvm::real W, std::vector< colvarvalue > const &cv_values, std::vector< cvm::real > const &cv_sigmas, std::string const &replica="") | |||||||||||
Constructor of a hill object
| |||||||||||
hill (colvarbias_meta::hill const &h) | |||||||||||
Copy constructor. More... | |||||||||||
~hill () | |||||||||||
Destructor. More... | |||||||||||
hill & | operator= (colvarbias_meta::hill const &h) | ||||||||||
Assignment operator. More... | |||||||||||
cvm::real | energy () | ||||||||||
Get the energy. More... | |||||||||||
cvm::real | energy (cvm::real const &new_weight) | ||||||||||
Get the energy using another hill weight. More... | |||||||||||
cvm::real const & | value () | ||||||||||
Get the current hill value. More... | |||||||||||
void | value (cvm::real const &new_value) | ||||||||||
Set the hill value as specified. More... | |||||||||||
cvm::real | weight () | ||||||||||
Get the weight. More... | |||||||||||
void | scale (cvm::real const &new_scale_fac) | ||||||||||
Scale the weight with this factor (by default 1.0 is used). More... | |||||||||||
std::vector< colvarvalue > & | center () | ||||||||||
Get the center of the hill. More... | |||||||||||
colvarvalue & | center (size_t const &i) | ||||||||||
Get the i-th component of the center. More... | |||||||||||
std::string | output_traj () | ||||||||||
Represent the hill ina string suitable for a trajectory file. More... | |||||||||||
Protected Attributes | |||||||||||
cvm::step_number | it | ||||||||||
Time step at which this hill was added. More... | |||||||||||
cvm::real | hill_value | ||||||||||
Value of the hill function (ranges between 0 and 1). More... | |||||||||||
cvm::real | sW | ||||||||||
Scale factor, which could be modified at runtime (default: 1). More... | |||||||||||
cvm::real | W | ||||||||||
Maximum height in energy of the hill. More... | |||||||||||
std::vector< colvarvalue > | centers | ||||||||||
Centers of the hill in the collective variable space. More... | |||||||||||
std::vector< cvm::real > | sigmas | ||||||||||
Half-widths of the hill in the collective variable space. More... | |||||||||||
std::string | replica | ||||||||||
Identity of the replica who added this hill. More... | |||||||||||
Friends | |||||||||||
class | colvarbias_meta | ||||||||||
bool | operator< (hill const &h1, hill const &h2) | ||||||||||
Comparison operator. More... | |||||||||||
bool | operator<= (hill const &h1, hill const &h2) | ||||||||||
Comparison operator. More... | |||||||||||
bool | operator> (hill const &h1, hill const &h2) | ||||||||||
Comparison operator. More... | |||||||||||
bool | operator>= (hill const &h1, hill const &h2) | ||||||||||
Comparison operator. More... | |||||||||||
bool | operator== (hill const &h1, hill const &h2) | ||||||||||
Comparison operator. More... | |||||||||||
std::ostream & | operator<< (std::ostream &os, hill const &h) | ||||||||||
Write the hill to an output stream. More... |
Definition at line 267 of file colvarbias_meta.h.
|
Constructor of a hill object
Definition at line 1982 of file colvarbias_meta.C. References centers, colvarmodule::debug, hill_value, it, colvarmodule::log, sigmas, size, colvarmodule::to_str, and W. |
|
Copy constructor.
Definition at line 2010 of file colvarbias_meta.C. References hill_value, and it. |
|
Destructor.
Definition at line 2038 of file colvarbias_meta.C. |
|
Get the i-th component of the center.
Definition at line 359 of file colvarbias_meta.h. |
|
Get the center of the hill.
Definition at line 353 of file colvarbias_meta.h. |
|
Get the energy using another hill weight.
Definition at line 323 of file colvarbias_meta.h. |
|
Get the energy.
Definition at line 317 of file colvarbias_meta.h. |
|
Assignment operator.
Definition at line 2024 of file colvarbias_meta.C. References centers, hill_value, it, replica, sigmas, sW, and W. |
|
Represent the hill ina string suitable for a trajectory file.
Definition at line 1951 of file colvarbias_meta.C. |
|
Scale the weight with this factor (by default 1.0 is used).
Definition at line 347 of file colvarbias_meta.h. |
|
Set the hill value as specified.
Definition at line 335 of file colvarbias_meta.h. |
|
Get the current hill value.
Definition at line 329 of file colvarbias_meta.h. |
|
Get the weight.
Definition at line 341 of file colvarbias_meta.h. |
|
Definition at line 294 of file colvarbias_meta.h. |
|
Comparison operator.
Definition at line 365 of file colvarbias_meta.h. |
|
Write the hill to an output stream.
Definition at line 2042 of file colvarbias_meta.C. |
|
Comparison operator.
Definition at line 372 of file colvarbias_meta.h. |
|
Comparison operator.
Definition at line 393 of file colvarbias_meta.h. |
|
Comparison operator.
Definition at line 379 of file colvarbias_meta.h. |
|
Comparison operator.
Definition at line 386 of file colvarbias_meta.h. |
|
Centers of the hill in the collective variable space.
Definition at line 284 of file colvarbias_meta.h. Referenced by colvarbias_meta::add_hill, hill, operator<<, operator=, and output_traj. |
|
Value of the hill function (ranges between 0 and 1).
Definition at line 275 of file colvarbias_meta.h. |
|
Time step at which this hill was added.
Definition at line 272 of file colvarbias_meta.h. Referenced by operator<<, operator=, and output_traj. |
|
Identity of the replica who added this hill.
Definition at line 290 of file colvarbias_meta.h. Referenced by operator<<, and operator=. |
|
Half-widths of the hill in the collective variable space.
Definition at line 287 of file colvarbias_meta.h. Referenced by hill, operator<<, operator=, and output_traj. |
|
Scale factor, which could be modified at runtime (default: 1).
Definition at line 278 of file colvarbias_meta.h. Referenced by operator=. |
|
Maximum height in energy of the hill.
Definition at line 281 of file colvarbias_meta.h. Referenced by hill, operator<<, operator=, and output_traj. |