git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7003 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user