diff --git a/src/AMOEBA/angle_amoeba.cpp b/src/AMOEBA/angle_amoeba.cpp index 3b937568ff..e2d26dd047 100644 --- a/src/AMOEBA/angle_amoeba.cpp +++ b/src/AMOEBA/angle_amoeba.cpp @@ -623,7 +623,7 @@ void AngleAmoeba::allocate() void AngleAmoeba::coeff(int narg, char **arg) { - if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -632,7 +632,7 @@ void AngleAmoeba::coeff(int narg, char **arg) int count = 0; if (strcmp(arg[1],"ba") == 0) { - if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double ba_k1_one = utils::numeric(FLERR,arg[2],false,lmp); double ba_k2_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -649,7 +649,7 @@ void AngleAmoeba::coeff(int narg, char **arg) } } else if (strcmp(arg[1],"ub") == 0) { - if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double ub_k_one = utils::numeric(FLERR,arg[2],false,lmp); double ub_r0_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -662,7 +662,7 @@ void AngleAmoeba::coeff(int narg, char **arg) } } else { - if (narg != 9) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 9) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); int pflag_one = utils::inumeric(FLERR,arg[1],false,lmp); int ubflag_one = utils::inumeric(FLERR,arg[2],false,lmp); @@ -689,7 +689,7 @@ void AngleAmoeba::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); for (int i = ilo; i <= ihi; i++) if (setflag_a[i] == 1 && setflag_ba[i] == 1 && setflag_ub[i]) diff --git a/src/CG-SPICA/angle_spica.cpp b/src/CG-SPICA/angle_spica.cpp index 913428cd9b..08e4217483 100644 --- a/src/CG-SPICA/angle_spica.cpp +++ b/src/CG-SPICA/angle_spica.cpp @@ -249,7 +249,7 @@ void AngleSPICA::allocate() void AngleSPICA::coeff(int narg, char **arg) { if ((narg < 3) || (narg > 6)) - error->all(FLERR,"Incorrect args for angle coefficients"); + error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -270,7 +270,7 @@ void AngleSPICA::coeff(int narg, char **arg) if (repscale_one > 0.0) repscale_one = 1.0; } else if (narg == 4) repscale_one = utils::numeric(FLERR,arg[3],false,lmp); else if (narg == 3) repscale_one = 1.0; - else error->all(FLERR,"Incorrect args for angle coefficients"); + else error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); // convert theta0 from degrees to radians and store coefficients @@ -283,7 +283,7 @@ void AngleSPICA::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CLASS2/angle_class2.cpp b/src/CLASS2/angle_class2.cpp index 5000f9f629..04b7a9238c 100644 --- a/src/CLASS2/angle_class2.cpp +++ b/src/CLASS2/angle_class2.cpp @@ -272,7 +272,7 @@ void AngleClass2::allocate() void AngleClass2::coeff(int narg, char **arg) { - if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -281,7 +281,7 @@ void AngleClass2::coeff(int narg, char **arg) int count = 0; if (strcmp(arg[1],"bb") == 0) { - if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double bb_k_one = utils::numeric(FLERR,arg[2],false,lmp); double bb_r1_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -296,7 +296,7 @@ void AngleClass2::coeff(int narg, char **arg) } } else if (strcmp(arg[1],"ba") == 0) { - if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double ba_k1_one = utils::numeric(FLERR,arg[2],false,lmp); double ba_k2_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -313,7 +313,7 @@ void AngleClass2::coeff(int narg, char **arg) } } else { - if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double theta0_one = utils::numeric(FLERR,arg[1],false,lmp); double k2_one = utils::numeric(FLERR,arg[2],false,lmp); @@ -332,7 +332,7 @@ void AngleClass2::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); for (int i = ilo; i <= ihi; i++) if (setflag_a[i] == 1 && setflag_bb[i] == 1 && setflag_ba[i] == 1) diff --git a/src/DIPOLE/angle_dipole.cpp b/src/DIPOLE/angle_dipole.cpp index a66f3e1042..530f23f844 100644 --- a/src/DIPOLE/angle_dipole.cpp +++ b/src/DIPOLE/angle_dipole.cpp @@ -160,7 +160,7 @@ void AngleDipole::allocate() void AngleDipole::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -179,7 +179,7 @@ void AngleDipole::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/angle_cosine_periodic.cpp b/src/EXTRA-MOLECULE/angle_cosine_periodic.cpp index 6aae8d3ff4..e0e7f31f39 100644 --- a/src/EXTRA-MOLECULE/angle_cosine_periodic.cpp +++ b/src/EXTRA-MOLECULE/angle_cosine_periodic.cpp @@ -201,7 +201,7 @@ void AngleCosinePeriodic::allocate() void AngleCosinePeriodic::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -210,7 +210,7 @@ void AngleCosinePeriodic::coeff(int narg, char **arg) double c_one = utils::numeric(FLERR,arg[1],false,lmp); int b_one = utils::inumeric(FLERR,arg[2],false,lmp); int n_one = utils::inumeric(FLERR,arg[3],false,lmp); - if (n_one <= 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (n_one <= 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -221,7 +221,7 @@ void AngleCosinePeriodic::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_cosine_shift.cpp b/src/EXTRA-MOLECULE/angle_cosine_shift.cpp index 53ecb35eaf..14640a5e12 100644 --- a/src/EXTRA-MOLECULE/angle_cosine_shift.cpp +++ b/src/EXTRA-MOLECULE/angle_cosine_shift.cpp @@ -172,7 +172,7 @@ void AngleCosineShift::allocate() void AngleCosineShift::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -194,7 +194,7 @@ void AngleCosineShift::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_cosine_shift_exp.cpp b/src/EXTRA-MOLECULE/angle_cosine_shift_exp.cpp index acca92c48e..185adea37d 100644 --- a/src/EXTRA-MOLECULE/angle_cosine_shift_exp.cpp +++ b/src/EXTRA-MOLECULE/angle_cosine_shift_exp.cpp @@ -200,7 +200,7 @@ void AngleCosineShiftExp::allocate() void AngleCosineShiftExp::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -225,7 +225,7 @@ void AngleCosineShiftExp::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_cosine_squared_restricted.cpp b/src/EXTRA-MOLECULE/angle_cosine_squared_restricted.cpp index c6d78ea133..37003b5b05 100644 --- a/src/EXTRA-MOLECULE/angle_cosine_squared_restricted.cpp +++ b/src/EXTRA-MOLECULE/angle_cosine_squared_restricted.cpp @@ -166,7 +166,7 @@ void AngleCosineSquaredRestricted::allocate() void AngleCosineSquaredRestricted::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -185,7 +185,7 @@ void AngleCosineSquaredRestricted::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_fourier.cpp b/src/EXTRA-MOLECULE/angle_fourier.cpp index abcda6d036..f6cd9f4c80 100644 --- a/src/EXTRA-MOLECULE/angle_fourier.cpp +++ b/src/EXTRA-MOLECULE/angle_fourier.cpp @@ -174,7 +174,7 @@ void AngleFourier::allocate() void AngleFourier::coeff(int narg, char **arg) { - if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -195,7 +195,7 @@ void AngleFourier::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_fourier_simple.cpp b/src/EXTRA-MOLECULE/angle_fourier_simple.cpp index 143a008039..e3497b5e81 100644 --- a/src/EXTRA-MOLECULE/angle_fourier_simple.cpp +++ b/src/EXTRA-MOLECULE/angle_fourier_simple.cpp @@ -191,7 +191,7 @@ void AngleFourierSimple::allocate() void AngleFourierSimple::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 4) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -210,7 +210,7 @@ void AngleFourierSimple::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_gaussian.cpp b/src/EXTRA-MOLECULE/angle_gaussian.cpp index 004fdd15ab..1272ada0bb 100644 --- a/src/EXTRA-MOLECULE/angle_gaussian.cpp +++ b/src/EXTRA-MOLECULE/angle_gaussian.cpp @@ -236,7 +236,7 @@ void AngleGaussian::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_mwlc.cpp b/src/EXTRA-MOLECULE/angle_mwlc.cpp index 1a1549fea6..804627cfa3 100644 --- a/src/EXTRA-MOLECULE/angle_mwlc.cpp +++ b/src/EXTRA-MOLECULE/angle_mwlc.cpp @@ -174,7 +174,7 @@ void AngleMWLC::allocate() void AngleMWLC::coeff(int narg, char **arg) { - if (narg != 5) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -195,7 +195,7 @@ void AngleMWLC::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/EXTRA-MOLECULE/angle_quartic.cpp b/src/EXTRA-MOLECULE/angle_quartic.cpp index 616c81c749..92e84e79a5 100644 --- a/src/EXTRA-MOLECULE/angle_quartic.cpp +++ b/src/EXTRA-MOLECULE/angle_quartic.cpp @@ -183,7 +183,7 @@ void AngleQuartic::allocate() void AngleQuartic::coeff(int narg, char **arg) { - if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -206,7 +206,7 @@ void AngleQuartic::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/LEPTON/angle_lepton.cpp b/src/LEPTON/angle_lepton.cpp index 6efded950f..4907086ab1 100644 --- a/src/LEPTON/angle_lepton.cpp +++ b/src/LEPTON/angle_lepton.cpp @@ -298,7 +298,7 @@ void AngleLepton::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/MOFFF/angle_class2_p6.cpp b/src/MOFFF/angle_class2_p6.cpp index f2667fb17b..d7cedb0bcf 100644 --- a/src/MOFFF/angle_class2_p6.cpp +++ b/src/MOFFF/angle_class2_p6.cpp @@ -279,7 +279,7 @@ void AngleClass2P6::allocate() void AngleClass2P6::coeff(int narg, char **arg) { - if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg < 2) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -288,7 +288,7 @@ void AngleClass2P6::coeff(int narg, char **arg) int count = 0; if (strcmp(arg[1],"bb") == 0) { - if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double bb_k_one = utils::numeric(FLERR,arg[2],false,lmp); double bb_r1_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -303,7 +303,7 @@ void AngleClass2P6::coeff(int narg, char **arg) } } else if (strcmp(arg[1],"ba") == 0) { - if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 6) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double ba_k1_one = utils::numeric(FLERR,arg[2],false,lmp); double ba_k2_one = utils::numeric(FLERR,arg[3],false,lmp); @@ -320,7 +320,7 @@ void AngleClass2P6::coeff(int narg, char **arg) } } else { - if (narg != 7) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 7) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); double theta0_one = utils::numeric(FLERR,arg[1],false,lmp); double k2_one = utils::numeric(FLERR,arg[2],false,lmp); @@ -343,7 +343,7 @@ void AngleClass2P6::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); for (int i = ilo; i <= ihi; i++) if (setflag_a[i] == 1 && setflag_bb[i] == 1 && setflag_ba[i] == 1) diff --git a/src/MOFFF/angle_cosine_buck6d.cpp b/src/MOFFF/angle_cosine_buck6d.cpp index e1f5f54bf6..bf7390a6f8 100644 --- a/src/MOFFF/angle_cosine_buck6d.cpp +++ b/src/MOFFF/angle_cosine_buck6d.cpp @@ -248,7 +248,7 @@ void AngleCosineBuck6d::allocate() void AngleCosineBuck6d::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 4) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -257,7 +257,7 @@ void AngleCosineBuck6d::coeff(int narg, char **arg) double c_one = utils::numeric(FLERR,arg[1],false,lmp); int n_one = utils::inumeric(FLERR,arg[2],false,lmp); int th0_one = utils::numeric(FLERR,arg[3],false,lmp); - if (n_one <= 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (n_one <= 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); int count = 0; @@ -271,7 +271,7 @@ void AngleCosineBuck6d::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/angle_charmm.cpp b/src/MOLECULE/angle_charmm.cpp index 11b5abd699..92f4d65723 100644 --- a/src/MOLECULE/angle_charmm.cpp +++ b/src/MOLECULE/angle_charmm.cpp @@ -196,7 +196,7 @@ void AngleCharmm::allocate() void AngleCharmm::coeff(int narg, char **arg) { - if (narg != 5) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 5) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -219,7 +219,7 @@ void AngleCharmm::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/MOLECULE/angle_cosine.cpp b/src/MOLECULE/angle_cosine.cpp index 86d67f94aa..6a6d838bc0 100644 --- a/src/MOLECULE/angle_cosine.cpp +++ b/src/MOLECULE/angle_cosine.cpp @@ -155,7 +155,7 @@ void AngleCosine::allocate() void AngleCosine::coeff(int narg, char **arg) { - if (narg != 2) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 2) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -170,7 +170,7 @@ void AngleCosine::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/MOLECULE/angle_cosine_squared.cpp b/src/MOLECULE/angle_cosine_squared.cpp index 0ce9d4a064..2074b822eb 100644 --- a/src/MOLECULE/angle_cosine_squared.cpp +++ b/src/MOLECULE/angle_cosine_squared.cpp @@ -169,7 +169,7 @@ void AngleCosineSquared::allocate() void AngleCosineSquared::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -188,7 +188,7 @@ void AngleCosineSquared::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/MOLECULE/angle_harmonic.cpp b/src/MOLECULE/angle_harmonic.cpp index 040cbe7530..e04cecfe0d 100644 --- a/src/MOLECULE/angle_harmonic.cpp +++ b/src/MOLECULE/angle_harmonic.cpp @@ -172,7 +172,7 @@ void AngleHarmonic::allocate() void AngleHarmonic::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -191,7 +191,7 @@ void AngleHarmonic::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/YAFF/angle_cross.cpp b/src/YAFF/angle_cross.cpp index 067fe986e9..0ff3580715 100644 --- a/src/YAFF/angle_cross.cpp +++ b/src/YAFF/angle_cross.cpp @@ -220,7 +220,7 @@ void AngleCross::allocate() void AngleCross::coeff(int narg, char **arg) { - if (narg != 7) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 7) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -247,7 +247,7 @@ void AngleCross::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/YAFF/angle_mm3.cpp b/src/YAFF/angle_mm3.cpp index 920041f7e9..9cc53e21de 100644 --- a/src/YAFF/angle_mm3.cpp +++ b/src/YAFF/angle_mm3.cpp @@ -180,7 +180,7 @@ void AngleMM3::allocate() void AngleMM3::coeff(int narg, char **arg) { - if (narg != 3) error->all(FLERR,"Incorrect args for angle coefficients"); + if (narg != 3) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi; @@ -200,7 +200,7 @@ void AngleMM3::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for angle coefficients" + utils::errorurl(21)); } diff --git a/src/angle_zero.cpp b/src/angle_zero.cpp index 39ff64d2bb..4f41509771 100644 --- a/src/angle_zero.cpp +++ b/src/angle_zero.cpp @@ -83,7 +83,7 @@ void AngleZero::allocate() void AngleZero::coeff(int narg, char **arg) { if ((narg < 1) || (coeffflag && narg > 2)) - error->all(FLERR, "Incorrect args for angle coefficients"); + error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -102,7 +102,7 @@ void AngleZero::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for angle coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */