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

@ -32,7 +32,7 @@ using namespace LAMMPS_NS;
FixSpringSelf::FixSpringSelf(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (narg != 4) error->all("Illegal fix spring/self command");
if (narg != 4) error->all(FLERR,"Illegal fix spring/self command");
restart_peratom = 1;
scalar_flag = 1;
@ -40,7 +40,7 @@ FixSpringSelf::FixSpringSelf(LAMMPS *lmp, int narg, char **arg) :
extscalar = 1;
k = atof(arg[3]);
if (k <= 0.0) error->all("Illegal fix spring/self command");
if (k <= 0.0) error->all(FLERR,"Illegal fix spring/self command");
// perform initial allocation of atom-based array
// register with Atom class