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

This commit is contained in:
sjplimp
2011-09-23 18:06:55 +00:00
parent 2d99de131d
commit 19e8c92a90
468 changed files with 4628 additions and 5204 deletions

View File

@ -35,7 +35,7 @@ using namespace LAMMPS_NS;
ComputeStressAtom::ComputeStressAtom(LAMMPS *lmp, int narg, char **arg) :
Compute(lmp, narg, arg)
{
if (narg < 3) error->all("Illegal compute stress/atom command");
if (narg < 3) error->all(FLERR,"Illegal compute stress/atom command");
peratom_flag = 1;
size_peratom_cols = 6;
@ -66,7 +66,7 @@ ComputeStressAtom::ComputeStressAtom(LAMMPS *lmp, int narg, char **arg) :
pairflag = 1;
bondflag = angleflag = dihedralflag = improperflag = 1;
fixflag = 1;
} else error->all("Illegal compute stress/atom command");
} else error->all(FLERR,"Illegal compute stress/atom command");
iarg++;
}
}
@ -91,7 +91,7 @@ void ComputeStressAtom::compute_peratom()
invoked_peratom = update->ntimestep;
if (update->vflag_atom != invoked_peratom)
error->all("Per-atom virial was not tallied on needed timestep");
error->all(FLERR,"Per-atom virial was not tallied on needed timestep");
// grow local stress array if necessary
// needs to be atom->nmax in length