git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1257 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user