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

This commit is contained in:
sjplimp 2014-01-17 16:53:37 +00:00
parent 4ae92e2cc3
commit 961be6ee48
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -315,7 +315,7 @@ void *lammps_extract_fix(void *ptr, char *id, int style, int type,
which the caller can cast to a (double *) which points to the values
returns a NULL if name is not recognized or not equal-style or atom-style
IMPORTANT: for both equal-style and atom-style variables,
this function allocates memory to store the variable data in
this function allocates memory to store the variable data,
so the caller must free this memory to avoid a leak
e.g. for equal-style variables
double *dptr = (double *) lammps_extract_variable();