update to colvars library to version 2016-05-03
This commit is contained in:
@ -12,7 +12,9 @@ colvar::cvc::cvc()
|
||||
sup_np(1),
|
||||
b_periodic(false),
|
||||
b_try_scalable(true)
|
||||
{}
|
||||
{
|
||||
init_cvc_requires();
|
||||
}
|
||||
|
||||
|
||||
colvar::cvc::cvc(std::string const &conf)
|
||||
|
||||
@ -13,6 +13,15 @@
|
||||
// alpha component
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FIXME: this will not make collect_gradients work
|
||||
// because gradients in individual atom groups
|
||||
// are those of the sub-cvcs (angle, hb), not those
|
||||
// of this cvc (alpha)
|
||||
// This is true of all cvcs with sub-cvcs, and those
|
||||
// that do not calculate explicit gradients
|
||||
// SO: we need a flag giving the availability of
|
||||
// atomic gradients
|
||||
|
||||
colvar::alpha_angles::alpha_angles(std::string const &conf)
|
||||
: cvc(conf)
|
||||
{
|
||||
@ -219,12 +228,13 @@ void colvar::alpha_angles::apply_force(colvarvalue const &force)
|
||||
|
||||
// FIXME: this will not make collect_gradients work
|
||||
// because gradients in individual atom groups
|
||||
// are those of the sub-cvcs (angle, hb), not those
|
||||
// of this cvc (alpha)
|
||||
// are those of the sub-cvcs (dihedral), not those
|
||||
// of this cvc
|
||||
// This is true of all cvcs with sub-cvcs, and those
|
||||
// that do not calculate explicit gradients
|
||||
// SO: we need a flag giving the availability of
|
||||
// atomic gradients
|
||||
|
||||
colvar::dihedPC::dihedPC(std::string const &conf)
|
||||
: cvc(conf)
|
||||
{
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#define COLVARMODULE_H
|
||||
|
||||
#ifndef COLVARS_VERSION
|
||||
#define COLVARS_VERSION "2016-04-28"
|
||||
#define COLVARS_VERSION "2016-05-03"
|
||||
#endif
|
||||
|
||||
#ifndef COLVARS_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user