add urls for error 08

This commit is contained in:
megmcca
2025-03-12 07:25:09 -06:00
parent ab63993226
commit 70faf86040
4 changed files with 5 additions and 5 deletions

View File

@ -379,7 +379,7 @@ void Balance::command(int narg, char **arg)
bigint nblocal = atom->nlocal;
MPI_Allreduce(&nblocal,&natoms,1,MPI_LMP_BIGINT,MPI_SUM,world);
if (natoms != atom->natoms)
error->all(FLERR,"Lost atoms via balance: original {} current {}",
error->all(FLERR,"Lost atoms via balance: original {} current {}"+utils::errorurl(08),
atom->natoms,natoms);
// imbfinal = final imbalance

View File

@ -381,7 +381,7 @@ void ChangeBox::command(int narg, char **arg)
MPI_Allreduce(&nblocal,&natoms,1,MPI_LMP_BIGINT,MPI_SUM,world);
if (natoms != atom->natoms && comm->me == 0)
error->warning(FLERR,"Lost atoms via change_box: original {} "
"current {}", atom->natoms,natoms);
"current {}"+utils::errorurl(08),atom->natoms,natoms);
}
/* ----------------------------------------------------------------------

View File

@ -364,7 +364,7 @@ void DisplaceAtoms::command(int narg, char **arg)
MPI_Allreduce(&nblocal,&natoms,1,MPI_LMP_BIGINT,MPI_SUM,world);
if (natoms != atom->natoms && comm->me == 0)
error->warning(FLERR,"Lost atoms via displace_atoms: original {} "
"current {}",atom->natoms,natoms);
"current {}"+utils::errorurl(08),atom->natoms,natoms);
}
/* ----------------------------------------------------------------------

View File

@ -509,12 +509,12 @@ bigint Thermo::lost_check()
// error message
if (lostflag == Thermo::ERROR)
error->all(FLERR, "Lost atoms: original {} current {}", atom->natoms, ntotal[0]);
error->all(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(08), atom->natoms, ntotal[0]);
// warning message
if (comm->me == 0)
error->warning(FLERR, "Lost atoms: original {} current {}", atom->natoms, ntotal[0]);
error->warning(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(08), atom->natoms, ntotal[0]);
// reset total atom count