add url to improper_coeff messages
This commit is contained in:
@ -257,7 +257,7 @@ void ImproperAmoeba::allocate()
|
||||
|
||||
void ImproperAmoeba::coeff(int narg, char **arg)
|
||||
{
|
||||
if (narg != 2) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 2) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -274,7 +274,7 @@ void ImproperAmoeba::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -509,7 +509,7 @@ void ImproperClass2::allocate()
|
||||
|
||||
void ImproperClass2::coeff(int narg, char **arg)
|
||||
{
|
||||
if (narg < 2) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg < 2) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -518,7 +518,7 @@ void ImproperClass2::coeff(int narg, char **arg)
|
||||
int count = 0;
|
||||
|
||||
if (strcmp(arg[1],"aa") == 0) {
|
||||
if (narg != 8) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 8) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
|
||||
double k1_one = utils::numeric(FLERR,arg[2],false,lmp);
|
||||
double k2_one = utils::numeric(FLERR,arg[3],false,lmp);
|
||||
@ -541,7 +541,7 @@ void ImproperClass2::coeff(int narg, char **arg)
|
||||
}
|
||||
|
||||
} else {
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
|
||||
double k0_one = utils::numeric(FLERR,arg[1],false,lmp);
|
||||
double chi0_one = utils::numeric(FLERR,arg[2],false,lmp);
|
||||
@ -556,7 +556,7 @@ void ImproperClass2::coeff(int narg, char **arg)
|
||||
}
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
|
||||
for (int i = ilo; i <= ihi; i++)
|
||||
if (setflag_i[i] == 1 && setflag_aa[i] == 1) setflag[i] = 1;
|
||||
|
||||
@ -270,7 +270,7 @@ void ImproperCossq::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -209,7 +209,7 @@ void ImproperDistance::allocate()
|
||||
void ImproperDistance::coeff(int narg, char **arg)
|
||||
{
|
||||
// if (which > 0) return;
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -228,7 +228,7 @@ void ImproperDistance::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -261,7 +261,7 @@ void ImproperFourier::allocate()
|
||||
void ImproperFourier::coeff(int narg, char **arg)
|
||||
{
|
||||
|
||||
if (narg != 5 && narg != 6) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 5 && narg != 6) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
|
||||
if (!allocated) allocate();
|
||||
|
||||
@ -288,7 +288,7 @@ void ImproperFourier::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -309,7 +309,7 @@ void ImproperRing ::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -273,7 +273,7 @@ void ImproperInversionHarmonic::allocate()
|
||||
void ImproperInversionHarmonic::coeff(int narg, char **arg)
|
||||
{
|
||||
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -292,7 +292,7 @@ void ImproperInversionHarmonic::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -275,7 +275,7 @@ void ImproperCvff::allocate()
|
||||
|
||||
void ImproperCvff::coeff(int narg, char **arg)
|
||||
{
|
||||
if (narg != 4) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (narg != 4) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo, ihi;
|
||||
@ -294,7 +294,7 @@ void ImproperCvff::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -217,7 +217,7 @@ void ImproperHarmonic::allocate()
|
||||
|
||||
void ImproperHarmonic::coeff(int narg, char **arg)
|
||||
{
|
||||
if (narg != 3) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo, ihi;
|
||||
@ -236,7 +236,7 @@ void ImproperHarmonic::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -256,7 +256,7 @@ void ImproperUmbrella::allocate()
|
||||
|
||||
void ImproperUmbrella::coeff(int narg, char **arg)
|
||||
{
|
||||
if (narg != 3) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo, ihi;
|
||||
@ -279,7 +279,7 @@ void ImproperUmbrella::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -217,7 +217,7 @@ void ImproperDistHarm::allocate()
|
||||
void ImproperDistHarm::coeff(int narg, char **arg)
|
||||
{
|
||||
// if (which > 0) return;
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -237,7 +237,7 @@ void ImproperDistHarm::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -217,7 +217,7 @@ void ImproperSQDistHarm::allocate()
|
||||
void ImproperSQDistHarm::coeff(int narg, char **arg)
|
||||
{
|
||||
// if (which > 0) return;
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (narg != 3) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
@ -237,7 +237,7 @@ void ImproperSQDistHarm::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR,"Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -78,7 +78,7 @@ void ImproperZero::allocate()
|
||||
void ImproperZero::coeff(int narg, char **arg)
|
||||
{
|
||||
if ((narg < 1) || (coeffflag && narg > 1))
|
||||
error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
|
||||
if (!allocated) allocate();
|
||||
|
||||
@ -91,7 +91,7 @@ void ImproperZero::coeff(int narg, char **arg)
|
||||
count++;
|
||||
}
|
||||
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients");
|
||||
if (count == 0) error->all(FLERR, "Incorrect args for improper coefficients" + utils::errorurl(21));
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user