~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/atom_vec.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
void AtomVec::write_vel(FILE *fp, int n, double **buf)
92
92
{
93
93
  for (int i = 0; i < n; i++)
94
 
    fprintf(fp,"%d %g %g %g\n",
 
94
    fprintf(fp,"%d %-1.16e %-1.16e %-1.16e\n",
95
95
            (int) buf[i][0],buf[i][1],buf[i][2],buf[i][3]);
96
96
}
97
97