forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9836 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
7e5fec4f3d
commit
f4714d9c41
|
@ -849,7 +849,7 @@ int AtomVecAngle::pack_data_hybrid(int i, double *buf)
|
|||
void AtomVecAngle::write_data(FILE *fp, int n, double **buf)
|
||||
{
|
||||
for (int i = 0; i < n; i++)
|
||||
fprintf(fp,"%d %d %d %g %g %g %d %d %d\n",
|
||||
fprintf(fp,"%d %d %d %-1.16e %-1.16e %-1.16e %d %d %d\n",
|
||||
(int) buf[i][0],(int) buf[i][1],(int) buf[i][2],
|
||||
buf[i][3],buf[i][4],buf[i][5],
|
||||
(int) buf[i][6],(int) buf[i][7],(int) buf[i][8]);
|
||||
|
|
|
@ -793,7 +793,7 @@ int AtomVecBond::pack_data_hybrid(int i, double *buf)
|
|||
void AtomVecBond::write_data(FILE *fp, int n, double **buf)
|
||||
{
|
||||
for (int i = 0; i < n; i++)
|
||||
fprintf(fp,"%d %d %d %g %g %g %d %d %d\n",
|
||||
fprintf(fp,"%d %d %d %-1.16e %-1.16e %-1.16e %d %d %d\n",
|
||||
(int) buf[i][0],(int) buf[i][1],(int) buf[i][2],
|
||||
buf[i][3],buf[i][4],buf[i][5],
|
||||
(int) buf[i][6],(int) buf[i][7],(int) buf[i][8]);
|
||||
|
|
|
@ -1007,7 +1007,7 @@ int AtomVecFull::pack_data_hybrid(int i, double *buf)
|
|||
void AtomVecFull::write_data(FILE *fp, int n, double **buf)
|
||||
{
|
||||
for (int i = 0; i < n; i++)
|
||||
fprintf(fp,"%d %d %d %g %g %g %g %d %d %d\n",
|
||||
fprintf(fp,"%d %d %d %-1.16e %-1.16e %-1.16e %-1.16e %d %d %d\n",
|
||||
(int) buf[i][0],(int) buf[i][1],(int) buf[i][2],
|
||||
buf[i][3],buf[i][4],buf[i][5],buf[i][6],
|
||||
(int) buf[i][7],(int) buf[i][8],(int) buf[i][9]);
|
||||
|
@ -1019,7 +1019,7 @@ void AtomVecFull::write_data(FILE *fp, int n, double **buf)
|
|||
|
||||
int AtomVecFull::write_data_hybrid(FILE *fp, double *buf)
|
||||
{
|
||||
fprintf(fp," %d %g",(int) buf[0],buf[1]);
|
||||
fprintf(fp," %d %-1.16e",(int) buf[0],buf[1]);
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
|
|
@ -985,7 +985,7 @@ int AtomVecMolecular::pack_data_hybrid(int i, double *buf)
|
|||
void AtomVecMolecular::write_data(FILE *fp, int n, double **buf)
|
||||
{
|
||||
for (int i = 0; i < n; i++)
|
||||
fprintf(fp,"%d %d %d %g %g %g %d %d %d\n",
|
||||
fprintf(fp,"%d %d %d %-1.16e %-1.16e %-1.16e %d %d %d\n",
|
||||
(int) buf[i][0],(int) buf[i][1],(int) buf[i][2],
|
||||
buf[i][3],buf[i][4],buf[i][5],
|
||||
(int) buf[i][6],(int) buf[i][7],(int) buf[i][8]);
|
||||
|
|
Loading…
Reference in New Issue