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

This commit is contained in:
sjplimp 2016-07-27 14:09:42 +00:00
parent c1fc5aef12
commit ee24be38cb
2 changed files with 5 additions and 1 deletions

View File

@ -81,7 +81,7 @@ int colvarbias_alb::init(std::string const &conf)
//we split the time between updating and equilibrating
update_freq /= 2;
if (update_freq == 0)
if (update_freq <= 1)
cvm::fatal_error("Error: must set updateFrequency to greater than 2.\n");
enable(f_cvb_history_dependent);

View File

@ -135,6 +135,8 @@ int colvarbias_restraint::init(std::string const &conf)
if (cvm::debug())
cvm::log("Done initializing a new restraint bias.\n");
return COLVARS_OK;
}
@ -537,6 +539,7 @@ int colvarbias_restraint_harmonic::init(std::string const &conf)
cvm::to_str(restraint_convert_k(force_k, colvars[i]->width))+
" according to the specified width.\n");
}
return COLVARS_OK;
}
@ -581,6 +584,7 @@ int colvarbias_restraint_linear::init(std::string const &conf)
cvm::to_str(restraint_convert_k(force_k, colvars[i]->width))+
" according to the specified width.\n");
}
return COLVARS_OK;
}