git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10760 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -159,6 +159,10 @@ void FixPropertyAtom::read_data_section(char *keyword, int n, char *buf)
|
||||
int j,m,tagdata;
|
||||
char *next;
|
||||
|
||||
if (atom->map_style == 0)
|
||||
error->all(FLERR,"Fix property/atom cannot read from data file "
|
||||
"unless an atom map is defined");
|
||||
|
||||
next = strchr(buf,'\n');
|
||||
*next = '\0';
|
||||
int nwords = atom->count_words(buf);
|
||||
|
||||
Reference in New Issue
Block a user