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

This commit is contained in:
sjplimp
2009-09-04 19:39:53 +00:00
parent 3e6da4ede1
commit 799775274d
6 changed files with 43 additions and 25 deletions

View File

@ -30,10 +30,6 @@ DumpAtom::DumpAtom(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
scale_flag = 1;
image_flag = 0;
format_default = NULL;
// one-time file open
if (multifile == 0) openfile();
}
/* ---------------------------------------------------------------------- */
@ -99,6 +95,10 @@ void DumpAtom::init()
if (binary) write_choice = &DumpAtom::write_binary;
else if (image_flag == 0) write_choice = &DumpAtom::write_noimage;
else if (image_flag == 1) write_choice = &DumpAtom::write_image;
// open single file, one time only
if (multifile == 0) openfile();
}
/* ---------------------------------------------------------------------- */