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

This commit is contained in:
sjplimp
2007-12-13 18:16:04 +00:00
parent f07b480280
commit 22a477c3d2
4 changed files with 242 additions and 90 deletions

View File

@ -367,6 +367,16 @@ int Variable::find(char *name)
return -1;
}
/* ----------------------------------------------------------------------
return 1 if variable calculates a per-atom quantity, 0 if not
------------------------------------------------------------------------- */
int Variable::peratom(int ivar)
{
if (style[ivar] == ATOM) return 1;
return 0;
}
/* ----------------------------------------------------------------------
remove Nth variable from list and compact list
------------------------------------------------------------------------- */