forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15371 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
c1fc5aef12
commit
ee24be38cb
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue