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

This commit is contained in:
sjplimp 2016-07-22 22:57:39 +00:00
parent 87a6c1368f
commit 2f936d5e56
1 changed files with 3 additions and 2 deletions

View File

@ -159,9 +159,10 @@ void *lammps_extract_global(void *ptr, char *name)
if (strcmp(name,"ntimestep") == 0) return (void *) &lmp->update->ntimestep;
// NOTE: we cannot give access to the thermo "time" data by reference,
// as that is a recomputed property. only "atime" can be provided as pointer.
// as that is a recomputed property. Only "atime" can be provided as pointer.
// please use lammps_get_thermo() defined below to access all supported
// thermo keywords by value
// thermo keywords by value.
if (strcmp(name,"atime") == 0) return (void *) &lmp->update->atime;
return NULL;