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

This commit is contained in:
sjplimp
2013-06-04 14:55:56 +00:00
parent a6e871f0a5
commit 7f18289ee3
7 changed files with 554 additions and 544 deletions

View File

@ -18,6 +18,7 @@
#include "update.h"
#include "domain.h"
#include "comm.h"
#include "force.h"
#include "memory.h"
#include "error.h"
@ -161,9 +162,9 @@ Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
if (dim == 0) orient = orientx;
else if (dim == 1) orient = orienty;
else if (dim == 2) orient = orientz;
orient[0] = atoi(arg[iarg+2]);
orient[1] = atoi(arg[iarg+3]);
orient[2] = atoi(arg[iarg+4]);
orient[0] = force->inumeric(arg[iarg+2]);
orient[1] = force->inumeric(arg[iarg+3]);
orient[2] = force->inumeric(arg[iarg+4]);
iarg += 5;
} else if (strcmp(arg[iarg],"spacing") == 0) {