Skip to content
Snippets Groups Projects
Commit 2f936d5e authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15357 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 87a6c136
No related branches found
No related tags found
No related merge requests found
...@@ -159,9 +159,10 @@ void *lammps_extract_global(void *ptr, char *name) ...@@ -159,9 +159,10 @@ void *lammps_extract_global(void *ptr, char *name)
if (strcmp(name,"ntimestep") == 0) return (void *) &lmp->update->ntimestep; if (strcmp(name,"ntimestep") == 0) return (void *) &lmp->update->ntimestep;
// NOTE: we cannot give access to the thermo "time" data by reference, // 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 // 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; if (strcmp(name,"atime") == 0) return (void *) &lmp->update->atime;
return NULL; return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment