forked from lijiext/lammps
recognize any word starting with FP as FPRIME style table
This commit is contained in:
parent
ccca642b3a
commit
86f5b51133
|
@ -578,7 +578,7 @@ void PairTable::param_extract(Table *tb, char *line)
|
|||
tb->rlo = atof(word);
|
||||
word = strtok(NULL," \t\n\r\f");
|
||||
tb->rhi = atof(word);
|
||||
} else if (strcmp(word,"FP") == 0) {
|
||||
} else if (strncmp(word,"FP",2) == 0) {
|
||||
tb->fpflag = 1;
|
||||
word = strtok(NULL," \t\n\r\f");
|
||||
tb->fplo = atof(word);
|
||||
|
|
Loading…
Reference in New Issue