forked from lijiext/lammps
Allowing read_restart to use suffix style with avec
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14753 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
042f50ac9c
commit
1901b7b33e
|
@ -825,7 +825,7 @@ void ReadRestart::header(int incompatible)
|
||||||
char **argcopy = new char*[nargcopy];
|
char **argcopy = new char*[nargcopy];
|
||||||
for (int i = 0; i < nargcopy; i++)
|
for (int i = 0; i < nargcopy; i++)
|
||||||
argcopy[i] = read_string();
|
argcopy[i] = read_string();
|
||||||
atom->create_avec(style,nargcopy,argcopy,0);
|
atom->create_avec(style,nargcopy,argcopy,1);
|
||||||
for (int i = 0; i < nargcopy; i++) delete [] argcopy[i];
|
for (int i = 0; i < nargcopy; i++) delete [] argcopy[i];
|
||||||
delete [] argcopy;
|
delete [] argcopy;
|
||||||
delete [] style;
|
delete [] style;
|
||||||
|
|
Loading…
Reference in New Issue