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

This commit is contained in:
sjplimp 2012-07-30 13:59:32 +00:00
parent 601fb2f9a1
commit 311d2b0a0c
1 changed files with 2 additions and 1 deletions

View File

@ -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));