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

This commit is contained in:
sjplimp
2012-12-06 23:48:51 +00:00
parent d4066c83bf
commit 212d8954dd

View File

@ -606,6 +606,7 @@ void header(FILE *fp, Data &data)
char *substyle;
for (int i = 1; i <= nwords; i++) {
substyle = read_char(fp);
strip_suffix(substyle);
set_style(substyle,data,i);
}
}
@ -699,8 +700,10 @@ void groups(FILE *fp)
int count = 0;
for (int i = 0; i < MAX_GROUP; i++) {
name = read_char(fp);
if (name) {
delete [] name;
count++;
}
if (count == ngroup) break;
}
}
@ -2623,6 +2626,7 @@ void pair(FILE *fp, Data &data, char *style, int flag)
int nstyles = read_int(fp);
for (int i = 0; i < nstyles; i++) {
char *substyle = read_char(fp);
strip_suffix(substyle);
pair(fp,data,substyle,0);
}