Skip to content
Unverified Commit 1de00aaa authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

improve parsing of data file header

the header lines are now checked using regular expressions
instead of strstr() which allows for stricter checking, but
also is more forgiving in terms of extra or different whitespace

return value of sscanf() calls is checked and on failure LAMMPS errors out
parent 8526e7a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment