git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9346 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -326,6 +326,7 @@ void WriteRestart::header()
|
||||
// atom_style must be written before atom class values
|
||||
// so read_restart can create class before reading class values
|
||||
// if style = hybrid, also write sub-class styles
|
||||
// avec->write_restart() writes atom_style specific info
|
||||
|
||||
write_char(ATOM_STYLE,atom->atom_style);
|
||||
|
||||
@ -341,6 +342,8 @@ void WriteRestart::header()
|
||||
}
|
||||
}
|
||||
|
||||
if (me == 0) atom->avec->write_restart_settings(fp);
|
||||
|
||||
write_bigint(NATOMS,natoms);
|
||||
write_int(NTYPES,atom->ntypes);
|
||||
write_bigint(NBONDS,atom->nbonds);
|
||||
|
||||
Reference in New Issue
Block a user