mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8514 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
601fb2f9a1
commit
311d2b0a0c
|
@ -125,11 +125,12 @@ void ReadCarFile(void)
|
||||||
atoms[k].molecule = m;
|
atoms[k].molecule = m;
|
||||||
atoms[k].no = k;
|
atoms[k].no = k;
|
||||||
|
|
||||||
fscanf(CarF,"%s %lf %lf %lf %*s %*s %s %s %f",
|
fscanf(CarF,"%s %lf %lf %lf %*s %d %s %s %f",
|
||||||
atoms[k].name,
|
atoms[k].name,
|
||||||
&(atoms[k].x[0]),
|
&(atoms[k].x[0]),
|
||||||
&(atoms[k].x[1]),
|
&(atoms[k].x[1]),
|
||||||
&(atoms[k].x[2]),
|
&(atoms[k].x[2]),
|
||||||
|
&(atoms[k].molecule),
|
||||||
atoms[k].potential,
|
atoms[k].potential,
|
||||||
atoms[k].element,
|
atoms[k].element,
|
||||||
&(atoms[k].q));
|
&(atoms[k].q));
|
||||||
|
|
Loading…
Reference in New Issue