#include <colvarbias_restraint.h>
Inheritance diagram for colvarbias_restraint_centers:
Public Methods | |
colvarbias_restraint_centers (char const *key) | |
virtual int | init (std::string const &conf) |
\brief Parse config string and (re)initialize. More... | |
virtual int | change_configuration (std::string const &conf) |
Load new configuration - force constant and/or centers only. More... | |
Protected Attributes | |
std::vector< colvarvalue > | colvar_centers |
\brief Restraint centers. More... |
Definition at line 68 of file colvarbias_restraint.h.
|
Definition at line 96 of file colvarbias_restraint.C. |
|
Load new configuration - force constant and/or centers only.
Reimplemented from colvarbias_restraint. Reimplemented in colvarbias_restraint_centers_moving. Definition at line 142 of file colvarbias_restraint.C. References colvar_centers, conf, colvarparse::get_keyval, colvarbias::num_variables, and colvarbias::variables. Referenced by colvarbias_restraint_harmonic::change_configuration. |
|
\brief Parse config string and (re)initialize.
Reimplemented from colvarbias_restraint. Reimplemented in colvarbias_restraint_centers_moving. Definition at line 102 of file colvarbias_restraint.C. References colvar_centers, COLVARS_INPUT_ERROR, conf, colvarmodule::debug, colvarmodule::error, colvarparse::get_keyval, colvarmodule::log, colvarbias::num_variables, and colvarbias::variables. Referenced by colvarbias_restraint_centers_moving::init. |
|