diff --git a/src/BPM/bond_bpm_rotational.cpp b/src/BPM/bond_bpm_rotational.cpp index abee373c5d..b8de3faca4 100644 --- a/src/BPM/bond_bpm_rotational.cpp +++ b/src/BPM/bond_bpm_rotational.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/BPM/bond_bpm_spring.cpp b/src/BPM/bond_bpm_spring.cpp index 0de93fea31..8da72cfb9e 100644 --- a/src/BPM/bond_bpm_spring.cpp +++ b/src/BPM/bond_bpm_spring.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/CG-DNA/bond_oxdna_fene.cpp b/src/CG-DNA/bond_oxdna_fene.cpp index f5edee9a05..381a131afd 100644 --- a/src/CG-DNA/bond_oxdna_fene.cpp +++ b/src/CG-DNA/bond_oxdna_fene.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/CLASS2/bond_class2.cpp b/src/CLASS2/bond_class2.cpp index da1e8199e0..8a7eec8215 100644 --- a/src/CLASS2/bond_class2.cpp +++ b/src/CLASS2/bond_class2.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_fene_nm.cpp b/src/EXTRA-MOLECULE/bond_fene_nm.cpp index 59f60379bd..5aa49265f4 100644 --- a/src/EXTRA-MOLECULE/bond_fene_nm.cpp +++ b/src/EXTRA-MOLECULE/bond_fene_nm.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_gaussian.cpp b/src/EXTRA-MOLECULE/bond_gaussian.cpp index deb37042ad..ceb20c1487 100644 --- a/src/EXTRA-MOLECULE/bond_gaussian.cpp +++ b/src/EXTRA-MOLECULE/bond_gaussian.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_harmonic_restrain.cpp b/src/EXTRA-MOLECULE/bond_harmonic_restrain.cpp index b4fe73c681..2a9a1e4e7f 100644 --- a/src/EXTRA-MOLECULE/bond_harmonic_restrain.cpp +++ b/src/EXTRA-MOLECULE/bond_harmonic_restrain.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_harmonic_shift.cpp b/src/EXTRA-MOLECULE/bond_harmonic_shift.cpp index 6c87d47f5e..227cf170e4 100644 --- a/src/EXTRA-MOLECULE/bond_harmonic_shift.cpp +++ b/src/EXTRA-MOLECULE/bond_harmonic_shift.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_harmonic_shift_cut.cpp b/src/EXTRA-MOLECULE/bond_harmonic_shift_cut.cpp index 7e2212b899..d8daad78d6 100644 --- a/src/EXTRA-MOLECULE/bond_harmonic_shift_cut.cpp +++ b/src/EXTRA-MOLECULE/bond_harmonic_shift_cut.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-MOLECULE/bond_nonlinear.cpp b/src/EXTRA-MOLECULE/bond_nonlinear.cpp index 32de7276d2..debd100e76 100644 --- a/src/EXTRA-MOLECULE/bond_nonlinear.cpp +++ b/src/EXTRA-MOLECULE/bond_nonlinear.cpp @@ -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)); } /* ---------------------------------------------------------------------- */ diff --git a/src/LEPTON/bond_lepton.cpp b/src/LEPTON/bond_lepton.cpp index 63c66011a1..26bcb6af81 100644 --- a/src/LEPTON/bond_lepton.cpp +++ b/src/LEPTON/bond_lepton.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MISC/bond_special.cpp b/src/MISC/bond_special.cpp index d0c6652672..e8acba561a 100644 --- a/src/MISC/bond_special.cpp +++ b/src/MISC/bond_special.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_fene.cpp b/src/MOLECULE/bond_fene.cpp index 7f55c89296..97b08c3f68 100644 --- a/src/MOLECULE/bond_fene.cpp +++ b/src/MOLECULE/bond_fene.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_fene_expand.cpp b/src/MOLECULE/bond_fene_expand.cpp index e115596eb1..fd3a376316 100644 --- a/src/MOLECULE/bond_fene_expand.cpp +++ b/src/MOLECULE/bond_fene_expand.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_gromos.cpp b/src/MOLECULE/bond_gromos.cpp index 1917f18686..fb3872e402 100644 --- a/src/MOLECULE/bond_gromos.cpp +++ b/src/MOLECULE/bond_gromos.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_harmonic.cpp b/src/MOLECULE/bond_harmonic.cpp index a1e926abea..04529ea2eb 100644 --- a/src/MOLECULE/bond_harmonic.cpp +++ b/src/MOLECULE/bond_harmonic.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_morse.cpp b/src/MOLECULE/bond_morse.cpp index b0e19c359c..8b7c474f84 100644 --- a/src/MOLECULE/bond_morse.cpp +++ b/src/MOLECULE/bond_morse.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/bond_quartic.cpp b/src/MOLECULE/bond_quartic.cpp index 4c9670447b..3cb766e0aa 100644 --- a/src/MOLECULE/bond_quartic.cpp +++ b/src/MOLECULE/bond_quartic.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/RHEO/bond_rheo_shell.cpp b/src/RHEO/bond_rheo_shell.cpp index 7ef05bbc38..f7b74dbf70 100644 --- a/src/RHEO/bond_rheo_shell.cpp +++ b/src/RHEO/bond_rheo_shell.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/YAFF/bond_mm3.cpp b/src/YAFF/bond_mm3.cpp index b3e69881e1..cbb83752f5 100644 --- a/src/YAFF/bond_mm3.cpp +++ b/src/YAFF/bond_mm3.cpp @@ -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)); } /* ---------------------------------------------------------------------- diff --git a/src/bond_zero.cpp b/src/bond_zero.cpp index 66cedd4a29..78ef0b9915 100644 --- a/src/bond_zero.cpp +++ b/src/bond_zero.cpp @@ -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)); } /* ----------------------------------------------------------------------