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

This commit is contained in:
sjplimp
2010-09-30 21:43:11 +00:00
parent 0d0fd0afac
commit 653d41ec75
3 changed files with 16 additions and 9 deletions

View File

@ -222,6 +222,13 @@ void Min::setup()
neighbor->build();
neighbor->ncalls = 0;
// remove these restriction eventually
if (nextra_global && searchflag == 0)
error->all("Cannot use a damped dynamics min style with fix box/relax");
if (nextra_atom && searchflag == 0)
error->all("Cannot use a damped dynamics min style with per-atom DOF");
// atoms may have migrated in comm->exchange()
reset_vectors();