From e6b8cca30c8613145827698df51d81f797aee0d4 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 25 Oct 2010 20:26:14 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5123 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/force.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/force.cpp b/src/force.cpp index 60ad0ff5b7..f70d67413e 100644 --- a/src/force.cpp +++ b/src/force.cpp @@ -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;