|
Collective Variables Module - Developer Documentation
|
Methods for scripting language interface (Tcl or Python) More...
#include <colvarproxy.h>


Public Member Functions | |
| colvarproxy_script () | |
| Constructor. | |
| virtual | ~colvarproxy_script () |
| Destructor. | |
| virtual int | run_force_callback () |
| Run a user-defined colvar forces script. More... | |
| virtual int | run_colvar_callback (std::string const &name, std::vector< const colvarvalue * > const &cvcs, colvarvalue &value) |
| virtual int | run_colvar_gradient_callback (std::string const &name, std::vector< const colvarvalue * > const &cvcs, std::vector< cvm::matrix2d< cvm::real > > &gradient) |
Public Attributes | |
| colvarscript * | script |
| bool | have_scripts |
| Do we have a scripting interface? | |
Methods for scripting language interface (Tcl or Python)
|
virtual |
Run a user-defined colvar forces script.
Reimplemented in colvarproxy_vmd, and colvarproxy_namd.
| colvarscript* colvarproxy_script::script |
Pointer to the scripting interface object (does not need to be allocated in a new interface)