update colvars library to version 2016-07-05

This commit is contained in:
Axel Kohlmeyer
2016-07-06 21:27:54 -04:00
parent 060d566f7c
commit d5beeb18db
12 changed files with 69 additions and 14 deletions

View File

@ -210,6 +210,8 @@ void cvm::deps::init_cvb_requires() {
f_description(f_cvb_get_system_force, "obtain system force");
f_req_children(f_cvb_get_system_force, f_cv_system_force);
f_description(f_cvb_history_dependent, "history-dependent");
// Initialize feature_states for each instance
feature_states.reserve(f_cvb_ntot);
for (i = 0; i < f_cvb_ntot; i++) {
@ -217,6 +219,9 @@ void cvm::deps::init_cvb_requires() {
// Most features are available, so we set them so
// and list exceptions below
}
// some biases are not history-dependent
feature_states[f_cvb_history_dependent]->available = false;
}