git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15315 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2016-07-15 22:25:17 +00:00
parent d32f1ea4c0
commit 05398a6863
19 changed files with 420 additions and 178 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;
}