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

This commit is contained in:
sjplimp
2016-01-28 21:24:58 +00:00
parent bc15585acd
commit f86a9f4283
6 changed files with 60 additions and 11 deletions

View File

@ -150,6 +150,8 @@ void *lammps_extract_global(void *ptr, char *name)
if (strcmp(name,"yz") == 0) return (void *) &lmp->domain->yz;
if (strcmp(name,"natoms") == 0) return (void *) &lmp->atom->natoms;
if (strcmp(name,"nlocal") == 0) return (void *) &lmp->atom->nlocal;
if (strcmp(name,"ntimestep") == 0) return (void *) &lmp->update->ntimestep;
return NULL;
}