use compute_time() func in xyz output

This commit is contained in:
Steve Plimpton
2021-12-21 14:05:16 -07:00
parent cad9f6bf6e
commit 6a442e1df4
4 changed files with 11 additions and 18 deletions

View File

@ -1132,6 +1132,7 @@ double Dump::compute_time()
{
return update->atime + (update->ntimestep - update->atimestep)*update->dt;
}
/* ----------------------------------------------------------------------
return # of bytes of allocated memory
------------------------------------------------------------------------- */