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