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

This commit is contained in:
sjplimp 2010-05-14 16:39:23 +00:00
parent 3846c625e5
commit 248d8e404e
1 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,6 @@ FixAddForce::FixAddForce(LAMMPS *lmp, int narg, char **arg) :
// optional args
iregion = -1;
evar = NONE;
estr = NULL;
int iarg = 6;
@ -153,7 +152,7 @@ void FixAddForce::init()
if (evar < 0) error->all("Variable name for fix addforce does not exist");
if (input->variable->atomstyle(evar)) estyle = ATOM;
else error->all("Variable for fix setforce is invalid style");
}
} else estyle = NONE;
if (xstyle == ATOM || ystyle == ATOM || zstyle == ATOM)
varflag = ATOM;