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