use command-line consistently where applicable and drop "line" where not
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user