add url to bond_coeff messages
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user