add some calls to utils::errorurl(22)

This commit is contained in:
Axel Kohlmeyer
2025-02-17 23:50:41 -05:00
parent fe5d6b154a
commit 0e07eab97f
23 changed files with 36 additions and 33 deletions

View File

@ -235,7 +235,7 @@ double ComputePressure::compute_scalar()
{
invoked_scalar = update->ntimestep;
if (update->vflag_global != invoked_scalar)
error->all(FLERR,"Virial was not tallied on needed timestep");
error->all(FLERR, Error::NOLASTLINE, "Virial was not tallied on needed timestep{}", utils::errorurl(22));
// invoke temperature if it hasn't been already
@ -274,7 +274,7 @@ void ComputePressure::compute_vector()
{
invoked_vector = update->ntimestep;
if (update->vflag_global != invoked_vector)
error->all(FLERR,"Virial was not tallied on needed timestep");
error->all(FLERR, Error::NOLASTLINE, "Virial was not tallied on needed timestep{}", utils::errorurl(22));
if (force->kspace && kspace_virial && force->kspace->scalar_pressure_flag)
error->all(FLERR,"Must use 'kspace_modify pressure/scalar no' for "