remove leading 0 in single-digit url codes
This commit is contained in:
@ -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 {}"+utils::errorurl(08),
|
||||
error->all(FLERR,"Lost atoms via balance: original {} current {}"+utils::errorurl(8),
|
||||
atom->natoms,natoms);
|
||||
|
||||
// imbfinal = final imbalance
|
||||
|
||||
@ -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 {}"+utils::errorurl(08),atom->natoms,natoms);
|
||||
"current {}"+utils::errorurl(8),atom->natoms,natoms);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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 {}"+utils::errorurl(08),atom->natoms,natoms);
|
||||
"current {}"+utils::errorurl(8),atom->natoms,natoms);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -787,7 +787,7 @@ void Domain::pbc()
|
||||
int flag = 0;
|
||||
for (i = 0; i < n3; i++)
|
||||
if (!std::isfinite(*coord++)) flag = 1;
|
||||
if (flag) error->one(FLERR,"Non-numeric atom coords - simulation unstable" + utils::errorurl(06));
|
||||
if (flag) error->one(FLERR,"Non-numeric atom coords - simulation unstable" + utils::errorurl(6));
|
||||
|
||||
// setup for PBC checks
|
||||
|
||||
|
||||
@ -700,7 +700,7 @@ void FixBoxRelax::couple()
|
||||
}
|
||||
|
||||
if (!std::isfinite(p_current[0]) || !std::isfinite(p_current[1]) || !std::isfinite(p_current[2]))
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(07));
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(7));
|
||||
|
||||
// switch order from xy-xz-yz to Voigt ordering
|
||||
|
||||
@ -710,7 +710,7 @@ void FixBoxRelax::couple()
|
||||
p_current[5] = tensor[3];
|
||||
|
||||
if (!std::isfinite(p_current[3]) || !std::isfinite(p_current[4]) || !std::isfinite(p_current[5]))
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(07));
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(7));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1045,7 +1045,7 @@ void FixNH::couple()
|
||||
}
|
||||
|
||||
if (!std::isfinite(p_current[0]) || !std::isfinite(p_current[1]) || !std::isfinite(p_current[2]))
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(07));
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(7));
|
||||
|
||||
// switch order from xy-xz-yz to Voigt ordering
|
||||
|
||||
@ -1055,7 +1055,7 @@ void FixNH::couple()
|
||||
p_current[5] = tensor[3];
|
||||
|
||||
if (!std::isfinite(p_current[3]) || !std::isfinite(p_current[4]) || !std::isfinite(p_current[5]))
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(07));
|
||||
error->all(FLERR,"Non-numeric pressure - simulation unstable" + utils::errorurl(7));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ int NBin::coord2bin(double *x)
|
||||
int ix,iy,iz;
|
||||
|
||||
if (!std::isfinite(x[0]) || !std::isfinite(x[1]) || !std::isfinite(x[2]))
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(06));
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(6));
|
||||
|
||||
if (x[0] >= bboxhi[0])
|
||||
ix = static_cast<int> ((x[0]-bboxhi[0])*bininvx) + nbinx;
|
||||
@ -181,7 +181,7 @@ int NBin::coord2bin_multi(double *x, int ic)
|
||||
int ibin;
|
||||
|
||||
if (!std::isfinite(x[0]) || !std::isfinite(x[1]) || !std::isfinite(x[2]))
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(06));
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(6));
|
||||
|
||||
if (x[0] >= bboxhi[0])
|
||||
ix = static_cast<int> ((x[0]-bboxhi[0])*bininvx_multi[ic]) + nbinx_multi[ic];
|
||||
|
||||
@ -238,7 +238,7 @@ int NPair::exclusion(int i, int j, int itype, int jtype,
|
||||
int NPair::coord2bin(double *x, int &ix, int &iy, int &iz)
|
||||
{
|
||||
if (!std::isfinite(x[0]) || !std::isfinite(x[1]) || !std::isfinite(x[2]))
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(07));
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(7));
|
||||
|
||||
if (x[0] >= bboxhi[0])
|
||||
ix = static_cast<int> ((x[0]-bboxhi[0])*bininvx) + nbinx;
|
||||
@ -281,7 +281,7 @@ int NPair::coord2bin(double *x, int ic)
|
||||
int ibin;
|
||||
|
||||
if (!std::isfinite(x[0]) || !std::isfinite(x[1]) || !std::isfinite(x[2]))
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(07));
|
||||
error->one(FLERR,"Non-numeric positions - simulation unstable" + utils::errorurl(7));
|
||||
|
||||
if (x[0] >= bboxhi[0])
|
||||
ix = static_cast<int> ((x[0]-bboxhi[0])*bininvx_multi[ic]) + nbinx_multi[ic];
|
||||
|
||||
@ -509,12 +509,12 @@ bigint Thermo::lost_check()
|
||||
// error message
|
||||
|
||||
if (lostflag == Thermo::ERROR)
|
||||
error->all(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(08), atom->natoms, ntotal[0]);
|
||||
error->all(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(8), atom->natoms, ntotal[0]);
|
||||
|
||||
// warning message
|
||||
|
||||
if (comm->me == 0)
|
||||
error->warning(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(08), atom->natoms, ntotal[0]);
|
||||
error->warning(FLERR, "Lost atoms: original {} current {}" + utils::errorurl(8), atom->natoms, ntotal[0]);
|
||||
|
||||
// reset total atom count
|
||||
|
||||
|
||||
Reference in New Issue
Block a user