Removing junk copied during write_data
This commit is contained in:
@ -35,7 +35,7 @@ FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
if (narg < 4) error->all(FLERR, "Illegal fix property/atom command");
|
||||
|
||||
restart_peratom = 1;
|
||||
wd_section = 1;
|
||||
wd_section = 1; // can be overwitten using optional arguments
|
||||
|
||||
int iarg = 3;
|
||||
nvalue = narg - iarg;
|
||||
@ -153,6 +153,10 @@ FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
if (iarg + 2 > narg) error->all(FLERR, "Illegal fix property/atom command");
|
||||
border = utils::logical(FLERR, arg[iarg + 1], false, lmp);
|
||||
iarg += 2;
|
||||
} else if (strcmp(arg[iarg], "writedata") == 0) {
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal fix property/atom command");
|
||||
wd_section = utils::logical(FLERR,arg[iarg+1],false,lmp);
|
||||
iarg += 2;
|
||||
} else
|
||||
error->all(FLERR, "Illegal fix property/atom command");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user