#include <colvarcomp.h>
Inheritance diagram for colvar::polar_theta:
Public Methods | |||
polar_theta (std::string const &conf) | |||
polar_theta () | |||
virtual | ~polar_theta () | ||
virtual void | calc_value () | ||
\brief Calculate the variable. More... | |||
virtual void | calc_gradients () | ||
\brief Calculate the atomic gradients, to be reused later in order to apply forces. More... | |||
virtual void | apply_force (colvarvalue const &force) | ||
\brief Apply the collective variable force, by communicating the atomic forces to the simulation program (Note: the ft member is not altered by this function) Note: multiple calls to this function within the same simulation step will add the forces altogether
| |||
virtual cvm::real | dist2 (colvarvalue const &x1, colvarvalue const &x2) const | ||
Redefined to override the distance ones. More... | |||
virtual colvarvalue | dist2_lgrad (colvarvalue const &x1, colvarvalue const &x2) const | ||
Redefined to override the distance ones. More... | |||
virtual colvarvalue | dist2_rgrad (colvarvalue const &x1, colvarvalue const &x2) const | ||
Redefined to override the distance ones. More... | |||
Protected Attributes | |||
cvm::atom_group * | atoms | ||
cvm::real | r | ||
cvm::real | theta | ||
cvm::real | phi |
Definition at line 532 of file colvarcomp.h.
|
Definition at line 501 of file colvarcomp_angles.C. References atoms, conf, colvardeps::enable, colvardeps::f_cvc_com_based, colvar::cvc::init_total_force_params, colvar::cvc::parse_group, colvar::cvc::set_function_type, colvarvalue::type, colvarvalue::type_scalar, and colvar::cvc::x. |
|
Definition at line 513 of file colvarcomp_angles.C. References colvar::cvc::set_function_type, colvarvalue::type, colvarvalue::type_scalar, and colvar::cvc::x. |
|
Definition at line 538 of file colvarcomp.h. |
|
\brief Apply the collective variable force, by communicating the atomic forces to the simulation program (Note: the ft member is not altered by this function) Note: multiple calls to this function within the same simulation step will add the forces altogether
Implements colvar::cvc. Definition at line 543 of file colvarcomp_angles.C. References atoms, force, and colvarvalue::real_value. |
|
\brief Calculate the atomic gradients, to be reused later in order to apply forces.
Reimplemented from colvar::cvc. Definition at line 531 of file colvarcomp_angles.C. |
|
\brief Calculate the variable.
Implements colvar::cvc. Definition at line 520 of file colvarcomp_angles.C. References colvarmodule::acos, colvarmodule::atan2, atoms, phi, PI, r, colvarvalue::real_value, theta, and colvar::cvc::x. |
|
Redefined to override the distance ones.
Reimplemented from colvar::cvc. |
|
Redefined to override the distance ones.
Reimplemented from colvar::cvc. |
|
Redefined to override the distance ones.
Reimplemented from colvar::cvc. |
|
Definition at line 540 of file colvarcomp.h. Referenced by apply_force, calc_gradients, calc_value, and polar_theta. |
|
Definition at line 541 of file colvarcomp.h. Referenced by calc_gradients, and calc_value. |
|
Definition at line 541 of file colvarcomp.h. Referenced by calc_gradients, and calc_value. |
|
Definition at line 541 of file colvarcomp.h. Referenced by calc_gradients, and calc_value. |