add url to bond_coeff messages

This commit is contained in:
megmcca
2025-02-10 09:36:22 -07:00
parent 75fd76aaa6
commit 0a4eea6aa0
21 changed files with 40 additions and 40 deletions

View File

@ -604,7 +604,7 @@ void BondBPMRotational::allocate()
void BondBPMRotational::coeff(int narg, char **arg)
{
if (narg != 13) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 13) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -643,7 +643,7 @@ void BondBPMRotational::coeff(int narg, char **arg)
if (Fcr[i] / Kr[i] > max_stretch) max_stretch = Fcr[i] / Kr[i];
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -399,7 +399,7 @@ void BondBPMSpring::allocate()
void BondBPMSpring::coeff(int narg, char **arg)
{
if ((!volume_flag && narg != 4) || (volume_flag && narg != 5))
error->all(FLERR, "Incorrect args for bond coefficients");
error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -424,7 +424,7 @@ void BondBPMSpring::coeff(int narg, char **arg)
if (1.0 + ecrit[i] > max_stretch) max_stretch = 1.0 + ecrit[i];
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -318,7 +318,7 @@ void BondOxdnaFene::allocate()
void BondOxdnaFene::coeff(int narg, char **arg)
{
if (narg != 2 && narg != 4) error->all(FLERR, "Incorrect args for bond coefficients in oxdna/fene");
if (narg != 2 && narg != 4) error->all(FLERR, "Incorrect args for bond coefficients in oxdna/fene" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -374,7 +374,7 @@ void BondOxdnaFene::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients in oxdna/fene");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients in oxdna/fene" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -134,7 +134,7 @@ void BondClass2::allocate()
void BondClass2::coeff(int narg, char **arg)
{
if (narg != 5) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 5) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -155,7 +155,7 @@ void BondClass2::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -139,7 +139,7 @@ void BondFENENM::allocate()
void BondFENENM::coeff(int narg, char **arg)
{
if (narg != 7) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 7) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -164,7 +164,7 @@ void BondFENENM::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -189,7 +189,7 @@ void BondGaussian::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -133,7 +133,7 @@ void BondHarmonicRestrain::allocate()
void BondHarmonicRestrain::coeff(int narg, char **arg)
{
if (narg != 2) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 2) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -148,7 +148,7 @@ void BondHarmonicRestrain::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -128,7 +128,7 @@ void BondHarmonicShift::allocate()
void BondHarmonicShift::coeff(int narg, char **arg)
{
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -149,7 +149,7 @@ void BondHarmonicShift::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -130,7 +130,7 @@ void BondHarmonicShiftCut::allocate()
void BondHarmonicShiftCut::coeff(int narg, char **arg)
{
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -151,7 +151,7 @@ void BondHarmonicShiftCut::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -123,7 +123,7 @@ void BondNonlinear::allocate()
void BondNonlinear::coeff(int narg, char **arg)
{
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 4) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -142,7 +142,7 @@ void BondNonlinear::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ---------------------------------------------------------------------- */

View File

@ -247,7 +247,7 @@ void BondLepton::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -137,7 +137,7 @@ void BondSpecial::allocate()
void BondSpecial::coeff(int narg, char **arg)
{
if (narg != 3) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 3) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -154,7 +154,7 @@ void BondSpecial::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -149,7 +149,7 @@ void BondFENE::allocate()
void BondFENE::coeff(int narg, char **arg)
{
if (narg != 5) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 5) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -170,7 +170,7 @@ void BondFENE::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -147,7 +147,7 @@ void BondFENEExpand::allocate()
void BondFENEExpand::coeff(int narg, char **arg)
{
if (narg != 6) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 6) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -170,7 +170,7 @@ void BondFENEExpand::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -120,7 +120,7 @@ void BondGromos::allocate()
void BondGromos::coeff(int narg, char **arg)
{
if (narg != 3) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 3) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -137,7 +137,7 @@ void BondGromos::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -122,7 +122,7 @@ void BondHarmonic::allocate()
void BondHarmonic::coeff(int narg, char **arg)
{
if (narg != 3) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 3) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -139,7 +139,7 @@ void BondHarmonic::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -126,7 +126,7 @@ void BondMorse::allocate()
void BondMorse::coeff(int narg, char **arg)
{
if (narg != 4) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 4) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -145,7 +145,7 @@ void BondMorse::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -197,7 +197,7 @@ void BondQuartic::allocate()
void BondQuartic::coeff(int narg, char **arg)
{
if (narg != 6) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 6) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -220,7 +220,7 @@ void BondQuartic::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -325,7 +325,7 @@ void BondRHEOShell::allocate()
void BondRHEOShell::coeff(int narg, char **arg)
{
if (narg != 4) error->all(FLERR, "Incorrect args for bond coefficients");
if (narg != 4) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo, ihi;
@ -346,7 +346,7 @@ void BondRHEOShell::coeff(int narg, char **arg)
if (1.0 + ecrit[i] > max_stretch) max_stretch = 1.0 + ecrit[i];
}
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR, "Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -135,7 +135,7 @@ void BondMM3::allocate()
void BondMM3::coeff(int narg, char **arg)
{
if (narg != 3) error->all(FLERR,"Incorrect args for bond coefficients");
if (narg != 3) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
int ilo,ihi;
@ -152,7 +152,7 @@ void BondMM3::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------

View File

@ -80,7 +80,7 @@ void BondZero::allocate()
void BondZero::coeff(int narg, char **arg)
{
if ((narg < 1) || (coeffflag && narg > 2))
error->all(FLERR,"Incorrect args for bond coefficients");
error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
if (!allocated) allocate();
@ -98,7 +98,7 @@ void BondZero::coeff(int narg, char **arg)
count++;
}
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients");
if (count == 0) error->all(FLERR,"Incorrect args for bond coefficients" + utils::errorurl(21));
}
/* ----------------------------------------------------------------------