use command-line consistently where applicable and drop "line" where not

This commit is contained in:
Axel Kohlmeyer
2024-12-27 04:01:23 -05:00
parent de0baba124
commit fb33541961
49 changed files with 139 additions and 138 deletions

View File

@ -69,7 +69,7 @@ void Error::universe_all(const std::string &file, int line, const std::string &s
if (universe->ulogfile) fclose(universe->ulogfile);
// allow commands if an exception was caught in a run
// update may be a null pointer when catching command line errors
// update may be a null pointer when catching command-line errors
if (update) update->whichflag = 0;
throw LAMMPSException(mesg);
@ -87,7 +87,7 @@ void Error::universe_one(const std::string &file, int line, const std::string &s
if (universe->uscreen) fputs(mesg.c_str(),universe->uscreen);
// allow commands if an exception was caught in a run
// update may be a null pointer when catching command line errors
// update may be a null pointer when catching command-line errors
if (update) update->whichflag = 0;
throw LAMMPSAbortException(mesg, universe->uworld);
@ -135,7 +135,7 @@ void Error::all(const std::string &file, int line, const std::string &str)
}
// allow commands if an exception was caught in a run
// update may be a null pointer when catching command line errors
// update may be a null pointer when catching command-line errors
if (update) update->whichflag = 0;
@ -170,7 +170,7 @@ void Error::one(const std::string &file, int line, const std::string &str)
fputs(mesg.c_str(),universe->uscreen);
// allow commands if an exception was caught in a run
// update may be a null pointer when catching command line errors
// update may be a null pointer when catching command-line errors
if (update) update->whichflag = 0;
throw LAMMPSAbortException(mesg, world);