add ITEM: UNITS line to native text format dumps

This commit is contained in:
Axel Kohlmeyer
2019-09-10 09:18:38 -04:00
parent cfd72aacce
commit cd846e1bbb
3 changed files with 4 additions and 0 deletions

View File

@ -420,6 +420,7 @@ void DumpCustom::header_binary_triclinic(bigint ndump)
void DumpCustom::header_item(bigint ndump)
{
fprintf(fp,"ITEM: UNITS %s\n",update->unit_style);
fprintf(fp,"ITEM: TIMESTEP\n");
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");