git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15038 f3b2605a-c512-4ea7-a41b-209d697bcdaa
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)
|
||||
{
|
||||
|
||||
@ -35,6 +35,10 @@ colvarmodule::colvarmodule(colvarproxy *proxy_in)
|
||||
cvm::log("Please cite Fiorin et al, Mol Phys 2013 in any publication "
|
||||
"based on this calculation.\n");
|
||||
|
||||
if (proxy->smp_enabled() == COLVARS_OK) {
|
||||
cvm::log("SMP parallelism is available.\n");
|
||||
}
|
||||
|
||||
// set initial default values
|
||||
|
||||
// "it_restart" will be set by the input state file, if any;
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#define COLVARMODULE_H
|
||||
|
||||
#ifndef COLVARS_VERSION
|
||||
#define COLVARS_VERSION "2016-04-28"
|
||||
#define COLVARS_VERSION "2016-05-10"
|
||||
#endif
|
||||
|
||||
#ifndef COLVARS_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user