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

This commit is contained in:
sjplimp
2013-06-28 19:00:58 +00:00
parent fcc992d386
commit aa33af4032
94 changed files with 638 additions and 590 deletions

View File

@ -15,6 +15,7 @@
#include "fix_read_restart.h"
#include "atom.h"
#include "memory.h"
#include "force.h"
using namespace LAMMPS_NS;
using namespace FixConst;
@ -24,8 +25,8 @@ using namespace FixConst;
FixReadRestart::FixReadRestart(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
nextra = atoi(arg[3]);
int nfix = atoi(arg[4]);
nextra = force->inumeric(FLERR,arg[3]);
int nfix = force->inumeric(FLERR,arg[4]);
// perform initial allocation of atom-based array
// register with Atom class