add explanations for "before/after simulation box is defined" errors
This commit is contained in:
@ -51,7 +51,7 @@ WriteData::WriteData(LAMMPS *lmp) : Command(lmp) {}
|
||||
void WriteData::command(int narg, char **arg)
|
||||
{
|
||||
if (domain->box_exist == 0)
|
||||
error->all(FLERR,"Write_data command before simulation box is defined");
|
||||
error->all(FLERR,"Write_data command before simulation box is defined" + utils::errorurl(33));
|
||||
|
||||
if (narg < 1) utils::missing_cmd_args(FLERR, "write_data", error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user