print the last input line, when error->all() is called

this should help tracking down input file errors for many
common cases without having to repeat the run with -echo screen
and avoid having to explain how to use that feature all the time
This commit is contained in:
Axel Kohlmeyer
2017-01-09 17:03:06 -05:00
parent c31f1e9f22
commit 1a81da0f73
3 changed files with 15 additions and 6 deletions

View File

@ -23,6 +23,7 @@ namespace LAMMPS_NS {
class Input : protected Pointers {
friend class Info;
friend class Error;
public:
int narg; // # of command args
char **arg; // parsed args for command