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

This commit is contained in:
sjplimp 2010-10-25 20:26:14 +00:00
parent d6cfefc04c
commit e6b8cca30c
1 changed files with 9 additions and 0 deletions

View File

@ -388,6 +388,15 @@ void Force::set_special(int narg, char **arg)
special_coul[2] = 0.0;
special_coul[3] = 0.0;
iarg += 1;
} else if (strcmp(arg[iarg],"dreiding") == 0) {
if (iarg+1 > narg) error->all("Illegal special_bonds command");
special_lj[1] = 0.0;
special_lj[2] = 0.0;
special_lj[3] = 1.0;
special_coul[1] = 0.0;
special_coul[2] = 0.0;
special_coul[3] = 1.0;
iarg += 1;
} else if (strcmp(arg[iarg],"fene") == 0) {
if (iarg+1 > narg) error->all("Illegal special_bonds command");
special_lj[1] = 0.0;