From 32d0bf1bee0573f1f341e50f87c65d9cf36672a1 Mon Sep 17 00:00:00 2001 From: megmcca Date: Mon, 3 Feb 2025 12:13:52 -0700 Subject: [PATCH] update all simple coeff messages --- src/AMOEBA/pair_amoeba.cpp | 2 +- src/ASPHERE/pair_gayberne.cpp | 4 ++-- src/ASPHERE/pair_line_lj.cpp | 4 ++-- src/ASPHERE/pair_resquared.cpp | 4 ++-- src/ASPHERE/pair_tri_lj.cpp | 4 ++-- src/ASPHERE/pair_ylz.cpp | 4 ++-- src/AWPMD/pair_awpmd_cut.cpp | 4 ++-- src/BODY/pair_body_nparticle.cpp | 4 ++-- src/BODY/pair_body_rounded_polygon.cpp | 4 ++-- src/BODY/pair_body_rounded_polyhedron.cpp | 4 ++-- src/BPM/pair_bpm_spring.cpp | 6 +++--- src/CG-SPICA/pair_lj_spica.cpp | 4 ++-- src/CG-SPICA/pair_lj_spica_coul_long.cpp | 4 ++-- src/CLASS2/pair_lj_class2.cpp | 4 ++-- src/CLASS2/pair_lj_class2_coul_cut.cpp | 4 ++-- src/CLASS2/pair_lj_class2_coul_long.cpp | 4 ++-- src/COLLOID/pair_brownian.cpp | 4 ++-- src/COLLOID/pair_colloid.cpp | 4 ++-- src/COLLOID/pair_lubricate.cpp | 4 ++-- src/COLLOID/pair_lubricateU.cpp | 4 ++-- src/DIPOLE/pair_lj_cut_dipole_cut.cpp | 4 ++-- src/DIPOLE/pair_lj_cut_dipole_long.cpp | 4 ++-- src/DIPOLE/pair_lj_long_dipole_long.cpp | 6 +++--- src/DIPOLE/pair_lj_sf_dipole_sf.cpp | 8 ++++---- src/DPD-BASIC/pair_dpd.cpp | 4 ++-- src/DPD-BASIC/pair_dpd_coul_slater_long.cpp | 4 ++-- src/DPD-BASIC/pair_dpd_ext.cpp | 4 ++-- src/DPD-BASIC/pair_dpd_ext_tstat.cpp | 4 ++-- src/DPD-BASIC/pair_dpd_tstat.cpp | 4 ++-- src/DPD-MESO/pair_edpd.cpp | 10 +++++----- src/DPD-MESO/pair_mdpd.cpp | 2 +- src/DPD-MESO/pair_mdpd_rhosum.cpp | 4 ++-- src/DPD-MESO/pair_tdpd.cpp | 4 ++-- src/DPD-REACT/pair_dpd_fdt.cpp | 4 ++-- src/DPD-REACT/pair_dpd_fdt_energy.cpp | 4 ++-- src/DPD-REACT/pair_exp6_rx.cpp | 18 +++++++++--------- .../pair_sdpd_taitwater_isothermal.cpp | 4 ++-- src/DRUDE/pair_coul_tt.cpp | 4 ++-- src/DRUDE/pair_lj_cut_thole_long.cpp | 4 ++-- src/DRUDE/pair_thole.cpp | 4 ++-- src/EFF/pair_eff_cut.cpp | 2 +- .../pair_hbond_dreiding_lj_angleoffset.cpp | 6 +++--- .../pair_hbond_dreiding_morse_angleoffset.cpp | 6 +++--- src/EXTRA-PAIR/pair_beck.cpp | 4 ++-- src/EXTRA-PAIR/pair_born_coul_dsf.cpp | 6 +++--- src/EXTRA-PAIR/pair_born_coul_wolf.cpp | 6 +++--- src/EXTRA-PAIR/pair_born_gauss.cpp | 4 ++-- src/EXTRA-PAIR/pair_buck_mdf.cpp | 6 +++--- src/EXTRA-PAIR/pair_coul_cut_global.cpp | 2 +- src/EXTRA-PAIR/pair_coul_diel.cpp | 4 ++-- src/EXTRA-PAIR/pair_coul_exclude.cpp | 4 ++-- src/EXTRA-PAIR/pair_coul_slater_long.cpp | 4 ++-- src/EXTRA-PAIR/pair_dispersion_d3.cpp | 2 +- src/EXTRA-PAIR/pair_gauss.cpp | 4 ++-- src/EXTRA-PAIR/pair_gauss_cut.cpp | 6 +++--- src/EXTRA-PAIR/pair_harmonic_cut.cpp | 4 ++-- src/EXTRA-PAIR/pair_lennard_mdf.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj96_cut.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_cubic.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_cut_coul_dsf.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_cut_coul_wolf.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_cut_sphere.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_expand_coul_long.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_expand_sphere.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_gromacs.cpp | 6 +++--- .../pair_lj_gromacs_coul_gromacs.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_mdf.cpp | 4 ++-- src/EXTRA-PAIR/pair_lj_relres.cpp | 10 +++++----- src/EXTRA-PAIR/pair_lj_smooth.cpp | 6 +++--- src/EXTRA-PAIR/pair_lj_smooth_linear.cpp | 4 ++-- src/EXTRA-PAIR/pair_mie_cut.cpp | 4 ++-- src/EXTRA-PAIR/pair_momb.cpp | 4 ++-- src/EXTRA-PAIR/pair_morse_smooth_linear.cpp | 4 ++-- src/EXTRA-PAIR/pair_nm_cut.cpp | 4 ++-- src/EXTRA-PAIR/pair_nm_cut_coul_cut.cpp | 4 ++-- src/EXTRA-PAIR/pair_nm_cut_coul_long.cpp | 4 ++-- src/EXTRA-PAIR/pair_pedone.cpp | 4 ++-- src/EXTRA-PAIR/pair_ufm.cpp | 4 ++-- src/EXTRA-PAIR/pair_wf_cut.cpp | 4 ++-- src/FEP/pair_coul_cut_soft.cpp | 4 ++-- src/FEP/pair_coul_long_soft.cpp | 4 ++-- src/FEP/pair_lj_charmm_coul_long_soft.cpp | 2 +- src/FEP/pair_lj_class2_coul_cut_soft.cpp | 6 +++--- src/FEP/pair_lj_class2_coul_long_soft.cpp | 6 +++--- src/FEP/pair_lj_class2_soft.cpp | 6 +++--- src/FEP/pair_lj_cut_coul_cut_soft.cpp | 6 +++--- src/FEP/pair_lj_cut_coul_long_soft.cpp | 6 +++--- src/FEP/pair_lj_cut_soft.cpp | 6 +++--- src/FEP/pair_morse_soft.cpp | 4 ++-- src/GPU/pair_eam_alloy_gpu.cpp | 2 +- src/GPU/pair_eam_fs_gpu.cpp | 2 +- src/GRANULAR/pair_gran_hooke_history.cpp | 4 ++-- src/GRANULAR/pair_granular.cpp | 4 ++-- src/INTEL/pair_eam_alloy_intel.cpp | 2 +- src/INTEL/pair_eam_fs_intel.cpp | 2 +- src/INTEL/pair_snap_intel.cpp | 2 +- src/INTERLAYER/pair_coul_shield.cpp | 4 ++-- src/INTERLAYER/pair_kolmogorov_crespi_z.cpp | 2 +- src/INTERLAYER/pair_lebedeva_z.cpp | 2 +- src/KIM/pair_kim.cpp | 4 ++-- src/KOKKOS/pair_eam_alloy_kokkos.cpp | 2 +- src/KOKKOS/pair_eam_fs_kokkos.cpp | 2 +- src/KOKKOS/pair_hybrid_overlay_kokkos.cpp | 8 ++++---- src/KOKKOS/pair_mliap_kokkos.cpp | 8 ++++---- src/KSPACE/pair_born_coul_long.cpp | 6 +++--- src/KSPACE/pair_buck_coul_long.cpp | 6 +++--- src/KSPACE/pair_buck_long_coul_long.cpp | 4 ++-- src/KSPACE/pair_coul_long.cpp | 4 ++-- src/KSPACE/pair_lj_charmm_coul_long.cpp | 2 +- src/KSPACE/pair_lj_charmmfsw_coul_long.cpp | 2 +- src/KSPACE/pair_lj_cut_coul_long.cpp | 4 ++-- src/KSPACE/pair_lj_long_coul_long.cpp | 4 ++-- src/LEPTON/pair_lepton.cpp | 4 ++-- src/MACHDYN/pair_smd_hertz.cpp | 4 ++-- src/MACHDYN/pair_smd_triangulated_surface.cpp | 4 ++-- src/MANYBODY/pair_adp.cpp | 6 +++--- src/MANYBODY/pair_airebo.cpp | 2 +- src/MANYBODY/pair_atm.cpp | 4 ++-- src/MANYBODY/pair_eam.cpp | 4 ++-- src/MANYBODY/pair_eam_alloy.cpp | 2 +- src/MANYBODY/pair_eam_fs.cpp | 2 +- src/MANYBODY/pair_eim.cpp | 4 ++-- src/MANYBODY/pair_lcbop.cpp | 2 +- src/MANYBODY/pair_local_density.cpp | 6 +++--- src/MANYBODY/pair_meam_spline.cpp | 4 ++-- src/MANYBODY/pair_rebomos.cpp | 8 ++++---- src/MANYBODY/pair_sw.cpp | 2 +- src/MC/pair_dsmc.cpp | 4 ++-- src/MEAM/pair_meam.cpp | 6 +++--- src/MGPT/pair_mgpt.cpp | 8 ++++---- src/MISC/pair_list.cpp | 2 +- src/MISC/pair_tracker.cpp | 6 +++--- src/ML-HDNNP/pair_hdnnp.cpp | 6 +++--- src/ML-IAP/pair_mliap.cpp | 6 +++--- src/ML-QUIP/pair_quip.cpp | 2 +- src/ML-RANN/pair_rann.cpp | 6 +++--- src/MOFFF/pair_buck6d_coul_gauss_dsf.cpp | 4 ++-- src/MOFFF/pair_buck6d_coul_gauss_long.cpp | 4 ++-- src/MOLECULE/pair_hbond_dreiding_lj.cpp | 6 +++--- src/MOLECULE/pair_hbond_dreiding_morse.cpp | 6 +++--- src/MOLECULE/pair_lj_charmm_coul_charmm.cpp | 4 ++-- .../pair_lj_charmmfsw_coul_charmmfsh.cpp | 4 ++-- src/MOLECULE/pair_lj_cut_tip4p_cut.cpp | 4 ++-- src/MOLECULE/pair_tip4p_cut.cpp | 4 ++-- src/OPENMP/pair_coul_cut_global_omp.cpp | 2 +- src/OPENMP/pair_eam_alloy_omp.cpp | 2 +- src/OPENMP/pair_eam_fs_omp.cpp | 2 +- .../pair_hbond_dreiding_lj_angleoffset_omp.cpp | 6 +++--- ...ir_hbond_dreiding_morse_angleoffset_omp.cpp | 6 +++--- src/PERI/pair_peri_eps.cpp | 4 ++-- src/PERI/pair_peri_lps.cpp | 4 ++-- src/PERI/pair_peri_pmb.cpp | 4 ++-- src/PERI/pair_peri_ves.cpp | 4 ++-- src/PYTHON/pair_python.cpp | 4 ++-- src/REAXFF/pair_reaxff.cpp | 4 ++-- src/RHEO/pair_rheo_solid.cpp | 6 +++--- src/SMTBQ/pair_smatb.cpp | 2 +- src/SMTBQ/pair_smatb_single.cpp | 2 +- src/SPH/pair_sph_heatconduction.cpp | 4 ++-- src/SPH/pair_sph_lj.cpp | 4 ++-- src/SPH/pair_sph_rhosum.cpp | 4 ++-- src/SPH/pair_sph_taitwater.cpp | 4 ++-- src/SPH/pair_sph_taitwater_morris.cpp | 4 ++-- src/SPIN/pair_spin_dipole_cut.cpp | 2 +- src/SPIN/pair_spin_dipole_long.cpp | 2 +- src/SPIN/pair_spin_exchange.cpp | 6 +++--- src/SPIN/pair_spin_exchange_biquadratic.cpp | 6 +++--- src/YAFF/pair_lj_switch3_coulgauss_long.cpp | 4 ++-- src/YAFF/pair_mm3_switch3_coulgauss_long.cpp | 4 ++-- src/pair.cpp | 2 +- src/pair_born.cpp | 6 +++--- src/pair_buck.cpp | 6 +++--- src/pair_buck_coul_cut.cpp | 6 +++--- src/pair_coul_cut.cpp | 4 ++-- src/pair_coul_dsf.cpp | 4 ++-- src/pair_coul_wolf.cpp | 4 ++-- src/pair_hybrid.cpp | 2 +- src/pair_hybrid_overlay.cpp | 8 ++++---- src/pair_hybrid_scaled.cpp | 8 ++++---- src/pair_lj_cut.cpp | 4 ++-- src/pair_lj_cut_coul_cut.cpp | 4 ++-- src/pair_lj_expand.cpp | 4 ++-- src/pair_morse.cpp | 4 ++-- src/pair_soft.cpp | 4 ++-- src/pair_yukawa.cpp | 4 ++-- src/pair_zbl.cpp | 6 +++--- src/pair_zero.cpp | 4 ++-- 187 files changed, 404 insertions(+), 404 deletions(-) diff --git a/src/AMOEBA/pair_amoeba.cpp b/src/AMOEBA/pair_amoeba.cpp index 1bdd36dd94..673b511d7b 100644 --- a/src/AMOEBA/pair_amoeba.cpp +++ b/src/AMOEBA/pair_amoeba.cpp @@ -723,7 +723,7 @@ void PairAmoeba::coeff(int narg, char **arg) if (!allocated) allocate(); - if ((narg < 3) || (narg > 4)) error->all(FLERR,"Incorrect args for pair coefficients"); + if ((narg < 3) || (narg > 4)) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // set setflag since coeff() is only called once with I,J = * * diff --git a/src/ASPHERE/pair_gayberne.cpp b/src/ASPHERE/pair_gayberne.cpp index 600889e0d1..92dbb932f3 100644 --- a/src/ASPHERE/pair_gayberne.cpp +++ b/src/ASPHERE/pair_gayberne.cpp @@ -292,7 +292,7 @@ void PairGayBerne::settings(int narg, char **arg) void PairGayBerne::coeff(int narg, char **arg) { if (narg < 10 || narg > 11) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -336,7 +336,7 @@ void PairGayBerne::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/ASPHERE/pair_line_lj.cpp b/src/ASPHERE/pair_line_lj.cpp index 3bfc10758c..a9db2a21ca 100644 --- a/src/ASPHERE/pair_line_lj.cpp +++ b/src/ASPHERE/pair_line_lj.cpp @@ -363,7 +363,7 @@ void PairLineLJ::settings(int narg, char **arg) void PairLineLJ::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -393,7 +393,7 @@ void PairLineLJ::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/ASPHERE/pair_resquared.cpp b/src/ASPHERE/pair_resquared.cpp index 2044b83325..744ff863a1 100644 --- a/src/ASPHERE/pair_resquared.cpp +++ b/src/ASPHERE/pair_resquared.cpp @@ -260,7 +260,7 @@ void PairRESquared::settings(int narg, char **arg) void PairRESquared::coeff(int narg, char **arg) { - if (narg < 10 || narg > 11) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 10 || narg > 11) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -308,7 +308,7 @@ void PairRESquared::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/ASPHERE/pair_tri_lj.cpp b/src/ASPHERE/pair_tri_lj.cpp index b9cb2528ca..738f39c4cc 100644 --- a/src/ASPHERE/pair_tri_lj.cpp +++ b/src/ASPHERE/pair_tri_lj.cpp @@ -434,7 +434,7 @@ void PairTriLJ::settings(int narg, char **arg) void PairTriLJ::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -458,7 +458,7 @@ void PairTriLJ::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/ASPHERE/pair_ylz.cpp b/src/ASPHERE/pair_ylz.cpp index 833dc8e3e4..78692c833c 100644 --- a/src/ASPHERE/pair_ylz.cpp +++ b/src/ASPHERE/pair_ylz.cpp @@ -239,7 +239,7 @@ void PairYLZ::settings(int narg, char **arg) void PairYLZ::coeff(int narg, char **arg) { - if (narg < 8 || narg > 8) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 8 || narg > 8) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -268,7 +268,7 @@ void PairYLZ::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/AWPMD/pair_awpmd_cut.cpp b/src/AWPMD/pair_awpmd_cut.cpp index e0ce319ebd..eb779e90be 100644 --- a/src/AWPMD/pair_awpmd_cut.cpp +++ b/src/AWPMD/pair_awpmd_cut.cpp @@ -459,7 +459,7 @@ void PairAWPMDCut::settings(int narg, char **arg) { // pair settings are as usual void PairAWPMDCut::coeff(int narg, char **arg) { - if (narg < 2 || narg > 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 2 || narg > 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); /*if(domain->xperiodic == 1 || domain->yperiodic == 1 || domain->zperiodic == 1) {*/ @@ -496,7 +496,7 @@ void PairAWPMDCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/BODY/pair_body_nparticle.cpp b/src/BODY/pair_body_nparticle.cpp index 29ee06dbef..a6611c4e09 100644 --- a/src/BODY/pair_body_nparticle.cpp +++ b/src/BODY/pair_body_nparticle.cpp @@ -383,7 +383,7 @@ void PairBodyNparticle::settings(int narg, char **arg) void PairBodyNparticle::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -407,7 +407,7 @@ void PairBodyNparticle::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/BODY/pair_body_rounded_polygon.cpp b/src/BODY/pair_body_rounded_polygon.cpp index 2293f56a98..d07c47c6ef 100644 --- a/src/BODY/pair_body_rounded_polygon.cpp +++ b/src/BODY/pair_body_rounded_polygon.cpp @@ -382,7 +382,7 @@ void PairBodyRoundedPolygon::settings(int narg, char **arg) void PairBodyRoundedPolygon::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -402,7 +402,7 @@ void PairBodyRoundedPolygon::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/BODY/pair_body_rounded_polyhedron.cpp b/src/BODY/pair_body_rounded_polyhedron.cpp index ed83dc49e2..321f00f5db 100644 --- a/src/BODY/pair_body_rounded_polyhedron.cpp +++ b/src/BODY/pair_body_rounded_polyhedron.cpp @@ -360,7 +360,7 @@ void PairBodyRoundedPolyhedron::settings(int narg, char **arg) void PairBodyRoundedPolyhedron::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -380,7 +380,7 @@ void PairBodyRoundedPolyhedron::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/BPM/pair_bpm_spring.cpp b/src/BPM/pair_bpm_spring.cpp index bf58b9e515..d01264a2dc 100644 --- a/src/BPM/pair_bpm_spring.cpp +++ b/src/BPM/pair_bpm_spring.cpp @@ -191,7 +191,7 @@ void PairBPMSpring::settings(int narg, char ** arg) void PairBPMSpring::coeff(int narg, char **arg) { if ((!anharmonic_flag && narg != 5) || (anharmonic_flag && narg != 6)) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -206,7 +206,7 @@ void PairBPMSpring::coeff(int narg, char **arg) if (anharmonic_flag) ka_one = utils::numeric(FLERR, arg[5], false, lmp); - if (cut_one <= 0.0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (cut_one <= 0.0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -221,7 +221,7 @@ void PairBPMSpring::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CG-SPICA/pair_lj_spica.cpp b/src/CG-SPICA/pair_lj_spica.cpp index 03fab85954..9fc31e821e 100644 --- a/src/CG-SPICA/pair_lj_spica.cpp +++ b/src/CG-SPICA/pair_lj_spica.cpp @@ -267,7 +267,7 @@ void PairLJSPICA::settings(int narg, char **arg) void PairLJSPICA::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -296,7 +296,7 @@ void PairLJSPICA::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CG-SPICA/pair_lj_spica_coul_long.cpp b/src/CG-SPICA/pair_lj_spica_coul_long.cpp index 176c076da9..020025bbac 100644 --- a/src/CG-SPICA/pair_lj_spica_coul_long.cpp +++ b/src/CG-SPICA/pair_lj_spica_coul_long.cpp @@ -321,7 +321,7 @@ void PairLJSPICACoulLong::settings(int narg, char **arg) void PairLJSPICACoulLong::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -349,7 +349,7 @@ void PairLJSPICACoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CLASS2/pair_lj_class2.cpp b/src/CLASS2/pair_lj_class2.cpp index 1208fedfca..75651e31df 100644 --- a/src/CLASS2/pair_lj_class2.cpp +++ b/src/CLASS2/pair_lj_class2.cpp @@ -447,7 +447,7 @@ void PairLJClass2::settings(int narg, char **arg) void PairLJClass2::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -471,7 +471,7 @@ void PairLJClass2::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CLASS2/pair_lj_class2_coul_cut.cpp b/src/CLASS2/pair_lj_class2_coul_cut.cpp index 3f66f1550f..5834b29f61 100644 --- a/src/CLASS2/pair_lj_class2_coul_cut.cpp +++ b/src/CLASS2/pair_lj_class2_coul_cut.cpp @@ -221,7 +221,7 @@ void PairLJClass2CoulCut::settings(int narg, char **arg) void PairLJClass2CoulCut::coeff(int narg, char **arg) { - if (narg < 4 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -249,7 +249,7 @@ void PairLJClass2CoulCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/CLASS2/pair_lj_class2_coul_long.cpp b/src/CLASS2/pair_lj_class2_coul_long.cpp index 965810c8f7..2482edc0a4 100644 --- a/src/CLASS2/pair_lj_class2_coul_long.cpp +++ b/src/CLASS2/pair_lj_class2_coul_long.cpp @@ -625,7 +625,7 @@ void PairLJClass2CoulLong::settings(int narg, char **arg) void PairLJClass2CoulLong::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -650,7 +650,7 @@ void PairLJClass2CoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/COLLOID/pair_brownian.cpp b/src/COLLOID/pair_brownian.cpp index 6773900e44..fec29acc85 100644 --- a/src/COLLOID/pair_brownian.cpp +++ b/src/COLLOID/pair_brownian.cpp @@ -403,7 +403,7 @@ void PairBrownian::settings(int narg, char **arg) void PairBrownian::coeff(int narg, char **arg) { - if (narg != 2 && narg != 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 2 && narg != 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -428,7 +428,7 @@ void PairBrownian::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/COLLOID/pair_colloid.cpp b/src/COLLOID/pair_colloid.cpp index 55424fa398..ce4228fa3f 100644 --- a/src/COLLOID/pair_colloid.cpp +++ b/src/COLLOID/pair_colloid.cpp @@ -266,7 +266,7 @@ void PairColloid::settings(int narg, char **arg) void PairColloid::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -300,7 +300,7 @@ void PairColloid::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/COLLOID/pair_lubricate.cpp b/src/COLLOID/pair_lubricate.cpp index 14e587e5f8..ec92f97121 100644 --- a/src/COLLOID/pair_lubricate.cpp +++ b/src/COLLOID/pair_lubricate.cpp @@ -493,7 +493,7 @@ void PairLubricate::settings(int narg, char **arg) void PairLubricate::coeff(int narg, char **arg) { if (narg != 2 && narg != 4) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -518,7 +518,7 @@ void PairLubricate::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/COLLOID/pair_lubricateU.cpp b/src/COLLOID/pair_lubricateU.cpp index 7a240c3bb9..7cb00f738c 100644 --- a/src/COLLOID/pair_lubricateU.cpp +++ b/src/COLLOID/pair_lubricateU.cpp @@ -1726,7 +1726,7 @@ void PairLubricateU::settings(int narg, char **arg) void PairLubricateU::coeff(int narg, char **arg) { if (narg != 2 && narg != 4) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -1751,7 +1751,7 @@ void PairLubricateU::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DIPOLE/pair_lj_cut_dipole_cut.cpp b/src/DIPOLE/pair_lj_cut_dipole_cut.cpp index 237eaa183e..94bd5aa9f5 100644 --- a/src/DIPOLE/pair_lj_cut_dipole_cut.cpp +++ b/src/DIPOLE/pair_lj_cut_dipole_cut.cpp @@ -325,7 +325,7 @@ void PairLJCutDipoleCut::settings(int narg, char **arg) void PairLJCutDipoleCut::coeff(int narg, char **arg) { if (narg < 4 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -352,7 +352,7 @@ void PairLJCutDipoleCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DIPOLE/pair_lj_cut_dipole_long.cpp b/src/DIPOLE/pair_lj_cut_dipole_long.cpp index 5d71842d54..eb342cd335 100644 --- a/src/DIPOLE/pair_lj_cut_dipole_long.cpp +++ b/src/DIPOLE/pair_lj_cut_dipole_long.cpp @@ -364,7 +364,7 @@ void PairLJCutDipoleLong::settings(int narg, char **arg) void PairLJCutDipoleLong::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -388,7 +388,7 @@ void PairLJCutDipoleLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DIPOLE/pair_lj_long_dipole_long.cpp b/src/DIPOLE/pair_lj_long_dipole_long.cpp index 2e1a9c4db0..2e8703e3e8 100644 --- a/src/DIPOLE/pair_lj_long_dipole_long.cpp +++ b/src/DIPOLE/pair_lj_long_dipole_long.cpp @@ -79,7 +79,7 @@ void PairLJLongDipoleLong::settings(int narg, char **arg) options(arg, 1); if (!comm->me && ewald_order&(1<<6)) - error->warning(FLERR,"Geometric mixing assumed for 1/r^6 coefficients"); + error->warning(FLERR,"Geometric mixing assumed for 1/r^6 coefficients" + utils::errorurl(21)); if (!comm->me && ewald_order==((1<<3)|(1<<6))) error->warning(FLERR,"Using largest cut-off for lj/long/dipole/long long long"); if (!*(++arg)) @@ -185,7 +185,7 @@ void *PairLJLongDipoleLong::extract(const char *id, int &dim) void PairLJLongDipoleLong::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -209,7 +209,7 @@ void PairLJLongDipoleLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DIPOLE/pair_lj_sf_dipole_sf.cpp b/src/DIPOLE/pair_lj_sf_dipole_sf.cpp index 1cd84ed490..f17e167031 100644 --- a/src/DIPOLE/pair_lj_sf_dipole_sf.cpp +++ b/src/DIPOLE/pair_lj_sf_dipole_sf.cpp @@ -355,7 +355,7 @@ void PairLJSFDipoleSF::settings(int narg, char **arg) void PairLJSFDipoleSF::coeff(int narg, char **arg) { if (narg < 4 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -382,10 +382,10 @@ void PairLJSFDipoleSF::coeff(int narg, char **arg) if (strcmp(arg[iarg],"scale") == 0) { scale_one = utils::numeric(FLERR,arg[iarg+1],false,lmp); iarg += 2; - } else error->all(FLERR,"Incorrect args for pair coefficients"); + } else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } if (iarg != narg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -400,7 +400,7 @@ void PairLJSFDipoleSF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-BASIC/pair_dpd.cpp b/src/DPD-BASIC/pair_dpd.cpp index 1f60074280..b8b3d78327 100644 --- a/src/DPD-BASIC/pair_dpd.cpp +++ b/src/DPD-BASIC/pair_dpd.cpp @@ -223,7 +223,7 @@ void PairDPD::settings(int narg, char **arg) void PairDPD::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -247,7 +247,7 @@ void PairDPD::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-BASIC/pair_dpd_coul_slater_long.cpp b/src/DPD-BASIC/pair_dpd_coul_slater_long.cpp index 665249b0ba..ca9f601811 100644 --- a/src/DPD-BASIC/pair_dpd_coul_slater_long.cpp +++ b/src/DPD-BASIC/pair_dpd_coul_slater_long.cpp @@ -279,7 +279,7 @@ void PairDPDCoulSlaterLong::settings(int narg, char **arg) void PairDPDCoulSlaterLong::coeff(int narg, char **arg) { if (narg < 4 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -312,7 +312,7 @@ void PairDPDCoulSlaterLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-BASIC/pair_dpd_ext.cpp b/src/DPD-BASIC/pair_dpd_ext.cpp index e87ba893d8..a9c0779edd 100644 --- a/src/DPD-BASIC/pair_dpd_ext.cpp +++ b/src/DPD-BASIC/pair_dpd_ext.cpp @@ -275,7 +275,7 @@ void PairDPDExt::settings(int narg, char **arg) void PairDPDExt::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -306,7 +306,7 @@ void PairDPDExt::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-BASIC/pair_dpd_ext_tstat.cpp b/src/DPD-BASIC/pair_dpd_ext_tstat.cpp index 86a862604a..19fb6d0330 100644 --- a/src/DPD-BASIC/pair_dpd_ext_tstat.cpp +++ b/src/DPD-BASIC/pair_dpd_ext_tstat.cpp @@ -219,7 +219,7 @@ void PairDPDExtTstat::settings(int narg, char **arg) void PairDPDExtTstat::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -249,7 +249,7 @@ void PairDPDExtTstat::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-BASIC/pair_dpd_tstat.cpp b/src/DPD-BASIC/pair_dpd_tstat.cpp index 108177ed69..dd2d79657b 100644 --- a/src/DPD-BASIC/pair_dpd_tstat.cpp +++ b/src/DPD-BASIC/pair_dpd_tstat.cpp @@ -174,7 +174,7 @@ void PairDPDTstat::settings(int narg, char **arg) void PairDPDTstat::coeff(int narg, char **arg) { if (narg < 3 || narg > 4) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -198,7 +198,7 @@ void PairDPDTstat::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-MESO/pair_edpd.cpp b/src/DPD-MESO/pair_edpd.cpp index b575956f71..84c1f92534 100644 --- a/src/DPD-MESO/pair_edpd.cpp +++ b/src/DPD-MESO/pair_edpd.cpp @@ -300,7 +300,7 @@ void PairEDPD::settings(int narg, char **arg) void PairEDPD::coeff(int narg, char **arg) { if (narg < 9) - error->all(FLERR,"Incorrect args for pair edpd coefficients"); + error->all(FLERR,"Incorrect args for pair edpd coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -321,20 +321,20 @@ void PairEDPD::coeff(int narg, char **arg) int n = atom->ntypes; while (iarg < narg) { if (strcmp(arg[iarg],"power") == 0) { - if (iarg+5 > narg) error->all(FLERR,"Illegal pair edpd coefficients"); + if (iarg+5 > narg) error->all(FLERR,"Illegal pair edpd coefficients" + utils::errorurl(21)); for (int i = 0; i < 4; i++) sc_one[i] = utils::numeric(FLERR,arg[iarg+i+1],false,lmp); iarg += 5; power_flag = 1; memory->create(sc,n+1,n+1,4,"pair:sc"); } else if (strcmp(arg[iarg],"kappa") == 0) { - if (iarg+5 > narg) error->all(FLERR,"Illegal pair edpd coefficients"); + if (iarg+5 > narg) error->all(FLERR,"Illegal pair edpd coefficients" + utils::errorurl(21)); for (int i = 0; i < 4; i++) kc_one[i] = utils::numeric(FLERR,arg[iarg+i+1],false,lmp); iarg += 5; kappa_flag = 1; memory->create(kc,n+1,n+1,4,"pair:kc"); - } else error->all(FLERR,"Illegal pair edpd coefficients"); + } else error->all(FLERR,"Illegal pair edpd coefficients" + utils::errorurl(21)); } int count = 0; @@ -360,7 +360,7 @@ void PairEDPD::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-MESO/pair_mdpd.cpp b/src/DPD-MESO/pair_mdpd.cpp index de148189e0..dbc78101ac 100644 --- a/src/DPD-MESO/pair_mdpd.cpp +++ b/src/DPD-MESO/pair_mdpd.cpp @@ -270,7 +270,7 @@ void PairMDPD::coeff(int narg, char **arg) count++; } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-MESO/pair_mdpd_rhosum.cpp b/src/DPD-MESO/pair_mdpd_rhosum.cpp index 6dbeaf2125..0e25b16352 100644 --- a/src/DPD-MESO/pair_mdpd_rhosum.cpp +++ b/src/DPD-MESO/pair_mdpd_rhosum.cpp @@ -190,7 +190,7 @@ void PairMDPDRhoSum::settings(int narg, char **/*arg*/) { void PairMDPDRhoSum::coeff(int narg, char **arg) { if (narg != 3) - error->all(FLERR,"Incorrect number of args for mdpd/rhosum coefficients"); + error->all(FLERR,"Incorrect number of args for mdpd/rhosum coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -210,7 +210,7 @@ void PairMDPDRhoSum::coeff(int narg, char **arg) { } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-MESO/pair_tdpd.cpp b/src/DPD-MESO/pair_tdpd.cpp index 038b3c3cdc..cd74c2f501 100644 --- a/src/DPD-MESO/pair_tdpd.cpp +++ b/src/DPD-MESO/pair_tdpd.cpp @@ -268,7 +268,7 @@ void PairTDPD::settings(int narg, char **arg) void PairTDPD::coeff(int narg, char **arg) { if (narg != 7 + 3*cc_species) - error->all(FLERR,"Incorrect args for pair tdpd coefficients"); + error->all(FLERR,"Incorrect args for pair tdpd coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -310,7 +310,7 @@ void PairTDPD::coeff(int narg, char **arg) delete[] epsilon_one; delete[] powercc_one; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-REACT/pair_dpd_fdt.cpp b/src/DPD-REACT/pair_dpd_fdt.cpp index 44920a6bda..24b54cf69d 100644 --- a/src/DPD-REACT/pair_dpd_fdt.cpp +++ b/src/DPD-REACT/pair_dpd_fdt.cpp @@ -275,7 +275,7 @@ void PairDPDfdt::settings(int narg, char **arg) void PairDPDfdt::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -301,7 +301,7 @@ void PairDPDfdt::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-REACT/pair_dpd_fdt_energy.cpp b/src/DPD-REACT/pair_dpd_fdt_energy.cpp index 12d6dc5fb7..3bb6d57ec3 100644 --- a/src/DPD-REACT/pair_dpd_fdt_energy.cpp +++ b/src/DPD-REACT/pair_dpd_fdt_energy.cpp @@ -363,7 +363,7 @@ void PairDPDfdtEnergy::settings(int narg, char **arg) void PairDPDfdtEnergy::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -394,7 +394,7 @@ void PairDPDfdtEnergy::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-REACT/pair_exp6_rx.cpp b/src/DPD-REACT/pair_exp6_rx.cpp index 0cd9dd3a05..d914b0592d 100644 --- a/src/DPD-REACT/pair_exp6_rx.cpp +++ b/src/DPD-REACT/pair_exp6_rx.cpp @@ -578,7 +578,7 @@ void PairExp6rx::settings(int narg, char **arg) void PairExp6rx::coeff(int narg, char **arg) { - if (narg < 6 || narg > 9) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 6 || narg > 9) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); bool rx_flag = false; for (int i = 0; i < modify->nfix; i++) @@ -602,7 +602,7 @@ void PairExp6rx::coeff(int narg, char **arg) if (strcmp(site1,&atom->dvname[ispecies][0]) == 0) break; } if (ispecies == nspecies && strcmp(site1,"1fluid") != 0) - error->all(FLERR,"Site1 name not recognized in pair coefficients"); + error->all(FLERR,"Site1 name not recognized in pair coefficients" + utils::errorurl(21)); site2 = utils::strdup(arg[4]); @@ -610,7 +610,7 @@ void PairExp6rx::coeff(int narg, char **arg) if (strcmp(site2,&atom->dvname[ispecies][0]) == 0) break; } if (ispecies == nspecies && strcmp(site2,"1fluid") != 0) - error->all(FLERR,"Site2 name not recognized in pair coefficients"); + error->all(FLERR,"Site2 name not recognized in pair coefficients" + utils::errorurl(21)); { // Set isite1 and isite2 parameters based on site1 and site2 strings. @@ -623,7 +623,7 @@ void PairExp6rx::coeff(int narg, char **arg) if (strcmp(site1, &atom->dvname[isp][0]) == 0) break; if (isp == nspecies) - error->all(FLERR,"Site1 name not recognized in pair coefficients"); + error->all(FLERR,"Site1 name not recognized in pair coefficients" + utils::errorurl(21)); else isite1 = isp; } @@ -636,7 +636,7 @@ void PairExp6rx::coeff(int narg, char **arg) if (strcmp(site2, &atom->dvname[isp][0]) == 0) break; if (isp == nspecies) - error->all(FLERR,"Site2 name not recognized in pair coefficients"); + error->all(FLERR,"Site2 name not recognized in pair coefficients" + utils::errorurl(21)); else isite2 = isp; } @@ -667,14 +667,14 @@ void PairExp6rx::coeff(int narg, char **arg) memory->create(coeffEps,6,"pair:coeffEps"); memory->create(coeffRm,6,"pair:coeffRm"); read_file2(arg[6]); - if (narg > 8) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg > 8) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (narg == 8) cut_one = utils::numeric(FLERR,arg[7],false,lmp); } else if (strcmp(arg[5],"none") == 0) { scalingFlag = NONE; - if (narg > 7) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg > 7) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (narg == 7) cut_one = utils::numeric(FLERR,arg[6],false,lmp); } else { - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } int count = 0; @@ -686,7 +686,7 @@ void PairExp6rx::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DPD-SMOOTH/pair_sdpd_taitwater_isothermal.cpp b/src/DPD-SMOOTH/pair_sdpd_taitwater_isothermal.cpp index 2deeefe90e..8a81d24b9e 100644 --- a/src/DPD-SMOOTH/pair_sdpd_taitwater_isothermal.cpp +++ b/src/DPD-SMOOTH/pair_sdpd_taitwater_isothermal.cpp @@ -269,7 +269,7 @@ void PairSDPDTaitwaterIsothermal::settings (int narg, char **arg) { void PairSDPDTaitwaterIsothermal::coeff (int narg, char **arg) { if (narg != 5) error->all (FLERR, "Incorrect args for pair_style " - "sph/taitwater/morris coefficients"); + "sph/taitwater/morris coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -300,7 +300,7 @@ void PairSDPDTaitwaterIsothermal::coeff (int narg, char **arg) { } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DRUDE/pair_coul_tt.cpp b/src/DRUDE/pair_coul_tt.cpp index b8814265b6..8b305d6e8a 100644 --- a/src/DRUDE/pair_coul_tt.cpp +++ b/src/DRUDE/pair_coul_tt.cpp @@ -242,7 +242,7 @@ void PairCoulTT::settings(int narg, char **arg) void PairCoulTT::coeff(int narg, char **arg) { if (narg < 3 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -273,7 +273,7 @@ void PairCoulTT::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/DRUDE/pair_lj_cut_thole_long.cpp b/src/DRUDE/pair_lj_cut_thole_long.cpp index b7f1ce9be9..77f79fb220 100644 --- a/src/DRUDE/pair_lj_cut_thole_long.cpp +++ b/src/DRUDE/pair_lj_cut_thole_long.cpp @@ -317,7 +317,7 @@ void PairLJCutTholeLong::settings(int narg, char **arg) void PairLJCutTholeLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -348,7 +348,7 @@ void PairLJCutTholeLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/DRUDE/pair_thole.cpp b/src/DRUDE/pair_thole.cpp index 4039fd72fa..65cb0c3b9b 100644 --- a/src/DRUDE/pair_thole.cpp +++ b/src/DRUDE/pair_thole.cpp @@ -216,7 +216,7 @@ void PairThole::settings(int narg, char **arg) void PairThole::coeff(int narg, char **arg) { if (narg < 3 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -242,7 +242,7 @@ void PairThole::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EFF/pair_eff_cut.cpp b/src/EFF/pair_eff_cut.cpp index 5f32de9912..bea1387409 100644 --- a/src/EFF/pair_eff_cut.cpp +++ b/src/EFF/pair_eff_cut.cpp @@ -917,7 +917,7 @@ void PairEffCut::coeff(int narg, char **arg) count++; } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } else { int ecp; ecp = utils::inumeric(FLERR,arg[0],false,lmp); diff --git a/src/EXTRA-MOLECULE/pair_hbond_dreiding_lj_angleoffset.cpp b/src/EXTRA-MOLECULE/pair_hbond_dreiding_lj_angleoffset.cpp index 02ac009773..d33c502ebe 100644 --- a/src/EXTRA-MOLECULE/pair_hbond_dreiding_lj_angleoffset.cpp +++ b/src/EXTRA-MOLECULE/pair_hbond_dreiding_lj_angleoffset.cpp @@ -55,7 +55,7 @@ PairHbondDreidingLJAngleoffset::PairHbondDreidingLJAngleoffset(LAMMPS *lmp) void PairHbondDreidingLJAngleoffset::coeff(int narg, char **arg) { if (narg < 6 || narg > 11) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -66,7 +66,7 @@ void PairHbondDreidingLJAngleoffset::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double epsilon_one = utils::numeric(FLERR, arg[4], false, lmp); double sigma_one = utils::numeric(FLERR, arg[5], false, lmp); @@ -127,5 +127,5 @@ void PairHbondDreidingLJAngleoffset::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-MOLECULE/pair_hbond_dreiding_morse_angleoffset.cpp b/src/EXTRA-MOLECULE/pair_hbond_dreiding_morse_angleoffset.cpp index 21f26ea8d1..8842b45d53 100644 --- a/src/EXTRA-MOLECULE/pair_hbond_dreiding_morse_angleoffset.cpp +++ b/src/EXTRA-MOLECULE/pair_hbond_dreiding_morse_angleoffset.cpp @@ -53,7 +53,7 @@ PairHbondDreidingMorseAngleoffset::PairHbondDreidingMorseAngleoffset(LAMMPS *lmp void PairHbondDreidingMorseAngleoffset::coeff(int narg, char **arg) { if (narg < 7 || narg > 12) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -64,7 +64,7 @@ void PairHbondDreidingMorseAngleoffset::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double d0_one = utils::numeric(FLERR, arg[4], false, lmp); double alpha_one = utils::numeric(FLERR, arg[5], false, lmp); @@ -125,5 +125,5 @@ void PairHbondDreidingMorseAngleoffset::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-PAIR/pair_beck.cpp b/src/EXTRA-PAIR/pair_beck.cpp index f0dffed7fe..cd24609216 100644 --- a/src/EXTRA-PAIR/pair_beck.cpp +++ b/src/EXTRA-PAIR/pair_beck.cpp @@ -190,7 +190,7 @@ void PairBeck::settings(int narg, char **arg) void PairBeck::coeff(int narg, char **arg) { - if (narg != 7 && narg != 8) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 7 && narg != 8) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -220,7 +220,7 @@ void PairBeck::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_born_coul_dsf.cpp b/src/EXTRA-PAIR/pair_born_coul_dsf.cpp index c1be749d7b..6cd19ec54f 100644 --- a/src/EXTRA-PAIR/pair_born_coul_dsf.cpp +++ b/src/EXTRA-PAIR/pair_born_coul_dsf.cpp @@ -237,7 +237,7 @@ void PairBornCoulDSF::settings(int narg, char **arg) void PairBornCoulDSF::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -247,7 +247,7 @@ void PairBornCoulDSF::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); double sigma_one = utils::numeric(FLERR,arg[4],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[5],false,lmp); double d_one = utils::numeric(FLERR,arg[6],false,lmp); @@ -268,7 +268,7 @@ void PairBornCoulDSF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_born_coul_wolf.cpp b/src/EXTRA-PAIR/pair_born_coul_wolf.cpp index e3ebe884e2..8dce32ad21 100644 --- a/src/EXTRA-PAIR/pair_born_coul_wolf.cpp +++ b/src/EXTRA-PAIR/pair_born_coul_wolf.cpp @@ -240,7 +240,7 @@ void PairBornCoulWolf::settings(int narg, char **arg) void PairBornCoulWolf::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -250,7 +250,7 @@ void PairBornCoulWolf::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); double sigma_one = utils::numeric(FLERR,arg[4],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[5],false,lmp); double d_one = utils::numeric(FLERR,arg[6],false,lmp); @@ -271,7 +271,7 @@ void PairBornCoulWolf::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_born_gauss.cpp b/src/EXTRA-PAIR/pair_born_gauss.cpp index 4b1390889d..0cd2102c58 100644 --- a/src/EXTRA-PAIR/pair_born_gauss.cpp +++ b/src/EXTRA-PAIR/pair_born_gauss.cpp @@ -177,7 +177,7 @@ void PairBornGauss::settings(int narg, char **arg) void PairBornGauss::coeff(int narg, char **arg) { - if (narg < 7 || narg > 8) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 7 || narg > 8) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -206,7 +206,7 @@ void PairBornGauss::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_buck_mdf.cpp b/src/EXTRA-PAIR/pair_buck_mdf.cpp index 30485ec71d..3c93c0f5b3 100644 --- a/src/EXTRA-PAIR/pair_buck_mdf.cpp +++ b/src/EXTRA-PAIR/pair_buck_mdf.cpp @@ -205,7 +205,7 @@ void PairBuckMDF::settings(int narg, char **arg) void PairBuckMDF::coeff(int narg, char **arg) { if (narg != 5 && narg != 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -214,7 +214,7 @@ void PairBuckMDF::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[4],false,lmp); double cut_inner_one = cut_inner_global; @@ -241,7 +241,7 @@ void PairBuckMDF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_coul_cut_global.cpp b/src/EXTRA-PAIR/pair_coul_cut_global.cpp index e724a48959..401b0cee23 100644 --- a/src/EXTRA-PAIR/pair_coul_cut_global.cpp +++ b/src/EXTRA-PAIR/pair_coul_cut_global.cpp @@ -27,7 +27,7 @@ using namespace LAMMPS_NS; void PairCoulCutGlobal::coeff(int narg, char **arg) { if (narg != 2) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); PairCoulCut::coeff(narg,arg); } diff --git a/src/EXTRA-PAIR/pair_coul_diel.cpp b/src/EXTRA-PAIR/pair_coul_diel.cpp index 9d7904ba07..0b89f8bd28 100644 --- a/src/EXTRA-PAIR/pair_coul_diel.cpp +++ b/src/EXTRA-PAIR/pair_coul_diel.cpp @@ -178,7 +178,7 @@ void PairCoulDiel::settings(int narg, char **arg) void PairCoulDiel::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -205,7 +205,7 @@ void PairCoulDiel::coeff(int narg, char **arg) a_eps = 0.5*(5.2+eps_s); b_eps = 0.5*(eps_s-5.2); - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-PAIR/pair_coul_exclude.cpp b/src/EXTRA-PAIR/pair_coul_exclude.cpp index 8781f6abf0..6ddbd62f99 100644 --- a/src/EXTRA-PAIR/pair_coul_exclude.cpp +++ b/src/EXTRA-PAIR/pair_coul_exclude.cpp @@ -154,7 +154,7 @@ void PairCoulExclude::settings(int narg, char **arg) void PairCoulExclude::coeff(int narg, char **arg) { if (narg != 2) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -169,7 +169,7 @@ void PairCoulExclude::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-PAIR/pair_coul_slater_long.cpp b/src/EXTRA-PAIR/pair_coul_slater_long.cpp index 09926f6533..c2cc9efdc6 100644 --- a/src/EXTRA-PAIR/pair_coul_slater_long.cpp +++ b/src/EXTRA-PAIR/pair_coul_slater_long.cpp @@ -181,7 +181,7 @@ void PairCoulSlaterLong::settings(int narg, char **arg) void PairCoulSlaterLong::coeff(int narg, char **arg) { - if (narg != 2) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 2) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -197,7 +197,7 @@ void PairCoulSlaterLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_dispersion_d3.cpp b/src/EXTRA-PAIR/pair_dispersion_d3.cpp index ae1ec4dc25..bd630545d1 100644 --- a/src/EXTRA-PAIR/pair_dispersion_d3.cpp +++ b/src/EXTRA-PAIR/pair_dispersion_d3.cpp @@ -293,7 +293,7 @@ void PairDispersionD3::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); for (int i = 1; i <= ntypes; i++) { r2r4[i] = r2r4_ref[atomic_numbers[i - 1]]; diff --git a/src/EXTRA-PAIR/pair_gauss.cpp b/src/EXTRA-PAIR/pair_gauss.cpp index a9c146999b..70665cb31a 100644 --- a/src/EXTRA-PAIR/pair_gauss.cpp +++ b/src/EXTRA-PAIR/pair_gauss.cpp @@ -179,7 +179,7 @@ void PairGauss::settings(int narg, char **arg) void PairGauss::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -203,7 +203,7 @@ void PairGauss::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_gauss_cut.cpp b/src/EXTRA-PAIR/pair_gauss_cut.cpp index 7e445d728e..a5590906ab 100644 --- a/src/EXTRA-PAIR/pair_gauss_cut.cpp +++ b/src/EXTRA-PAIR/pair_gauss_cut.cpp @@ -182,7 +182,7 @@ void PairGaussCut::settings(int narg, char **arg) void PairGaussCut::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -193,7 +193,7 @@ void PairGaussCut::coeff(int narg, char **arg) double rmh_one = utils::numeric(FLERR,arg[3],false,lmp); double sigmah_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigmah_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_one = cut_global; @@ -211,7 +211,7 @@ void PairGaussCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_harmonic_cut.cpp b/src/EXTRA-PAIR/pair_harmonic_cut.cpp index 8b588f2a22..08084fa0ec 100644 --- a/src/EXTRA-PAIR/pair_harmonic_cut.cpp +++ b/src/EXTRA-PAIR/pair_harmonic_cut.cpp @@ -159,7 +159,7 @@ void PairHarmonicCut::settings(int narg, char ** /*arg*/) void PairHarmonicCut::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -179,7 +179,7 @@ void PairHarmonicCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lennard_mdf.cpp b/src/EXTRA-PAIR/pair_lennard_mdf.cpp index b97f0ba342..b56b7407f3 100644 --- a/src/EXTRA-PAIR/pair_lennard_mdf.cpp +++ b/src/EXTRA-PAIR/pair_lennard_mdf.cpp @@ -211,7 +211,7 @@ void PairLennardMDF::settings(int narg, char **arg) void PairLennardMDF::coeff(int narg, char **arg) { if (narg != 4 && narg != 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -242,7 +242,7 @@ void PairLennardMDF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj96_cut.cpp b/src/EXTRA-PAIR/pair_lj96_cut.cpp index e89f76bd4c..dcb8dd1293 100644 --- a/src/EXTRA-PAIR/pair_lj96_cut.cpp +++ b/src/EXTRA-PAIR/pair_lj96_cut.cpp @@ -450,7 +450,7 @@ void PairLJ96Cut::settings(int narg, char **arg) void PairLJ96Cut::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -474,7 +474,7 @@ void PairLJ96Cut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_cubic.cpp b/src/EXTRA-PAIR/pair_lj_cubic.cpp index e5d45786ac..a20c45928c 100644 --- a/src/EXTRA-PAIR/pair_lj_cubic.cpp +++ b/src/EXTRA-PAIR/pair_lj_cubic.cpp @@ -184,7 +184,7 @@ void PairLJCubic::settings(int narg, char ** /*arg*/) void PairLJCubic::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -207,7 +207,7 @@ void PairLJCubic::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_cut_coul_dsf.cpp b/src/EXTRA-PAIR/pair_lj_cut_coul_dsf.cpp index 6ac0c1cdae..36ffcf3982 100644 --- a/src/EXTRA-PAIR/pair_lj_cut_coul_dsf.cpp +++ b/src/EXTRA-PAIR/pair_lj_cut_coul_dsf.cpp @@ -231,7 +231,7 @@ void PairLJCutCoulDSF::settings(int narg, char **arg) void PairLJCutCoulDSF::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -255,7 +255,7 @@ void PairLJCutCoulDSF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_cut_coul_wolf.cpp b/src/EXTRA-PAIR/pair_lj_cut_coul_wolf.cpp index 20f38891ad..ef5dbe1e84 100644 --- a/src/EXTRA-PAIR/pair_lj_cut_coul_wolf.cpp +++ b/src/EXTRA-PAIR/pair_lj_cut_coul_wolf.cpp @@ -232,7 +232,7 @@ void PairLJCutCoulWolf::settings(int narg, char **arg) void PairLJCutCoulWolf::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -256,7 +256,7 @@ void PairLJCutCoulWolf::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_cut_sphere.cpp b/src/EXTRA-PAIR/pair_lj_cut_sphere.cpp index 852b2eea1d..f36ec89cb7 100644 --- a/src/EXTRA-PAIR/pair_lj_cut_sphere.cpp +++ b/src/EXTRA-PAIR/pair_lj_cut_sphere.cpp @@ -185,7 +185,7 @@ void PairLJCutSphere::settings(int narg, char **arg) void PairLJCutSphere::coeff(int narg, char **arg) { - if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -206,7 +206,7 @@ void PairLJCutSphere::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_expand_coul_long.cpp b/src/EXTRA-PAIR/pair_lj_expand_coul_long.cpp index 428b105621..b6b0300cac 100644 --- a/src/EXTRA-PAIR/pair_lj_expand_coul_long.cpp +++ b/src/EXTRA-PAIR/pair_lj_expand_coul_long.cpp @@ -641,7 +641,7 @@ void PairLJExpandCoulLong::settings(int narg, char **arg) void PairLJExpandCoulLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -667,7 +667,7 @@ void PairLJExpandCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_expand_sphere.cpp b/src/EXTRA-PAIR/pair_lj_expand_sphere.cpp index c275a9f9ee..b6520dcbc2 100644 --- a/src/EXTRA-PAIR/pair_lj_expand_sphere.cpp +++ b/src/EXTRA-PAIR/pair_lj_expand_sphere.cpp @@ -199,7 +199,7 @@ void PairLJExpandSphere::settings(int narg, char **arg) void PairLJExpandSphere::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -222,7 +222,7 @@ void PairLJExpandSphere::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_gromacs.cpp b/src/EXTRA-PAIR/pair_lj_gromacs.cpp index 4f728b2fbb..8142203a6e 100644 --- a/src/EXTRA-PAIR/pair_lj_gromacs.cpp +++ b/src/EXTRA-PAIR/pair_lj_gromacs.cpp @@ -213,7 +213,7 @@ void PairLJGromacs::settings(int narg, char **arg) void PairLJGromacs::coeff(int narg, char **arg) { - if (narg != 4 && narg != 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 4 && narg != 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -231,7 +231,7 @@ void PairLJGromacs::coeff(int narg, char **arg) } if (cut_inner_one <= 0.0 || cut_inner_one > cut_one) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -245,7 +245,7 @@ void PairLJGromacs::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_gromacs_coul_gromacs.cpp b/src/EXTRA-PAIR/pair_lj_gromacs_coul_gromacs.cpp index e20af2b81f..db07466407 100644 --- a/src/EXTRA-PAIR/pair_lj_gromacs_coul_gromacs.cpp +++ b/src/EXTRA-PAIR/pair_lj_gromacs_coul_gromacs.cpp @@ -239,7 +239,7 @@ void PairLJGromacsCoulGromacs::settings(int narg, char **arg) void PairLJGromacsCoulGromacs::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -259,7 +259,7 @@ void PairLJGromacsCoulGromacs::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_mdf.cpp b/src/EXTRA-PAIR/pair_lj_mdf.cpp index 091c49152c..39ecd13f70 100644 --- a/src/EXTRA-PAIR/pair_lj_mdf.cpp +++ b/src/EXTRA-PAIR/pair_lj_mdf.cpp @@ -213,7 +213,7 @@ void PairLJMDF::settings(int narg, char **arg) void PairLJMDF::coeff(int narg, char **arg) { if (narg != 4 && narg != 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -244,7 +244,7 @@ void PairLJMDF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_relres.cpp b/src/EXTRA-PAIR/pair_lj_relres.cpp index 1826f3f1db..189af60272 100644 --- a/src/EXTRA-PAIR/pair_lj_relres.cpp +++ b/src/EXTRA-PAIR/pair_lj_relres.cpp @@ -297,7 +297,7 @@ void PairLJRelRes::settings(int narg, char **arg) void PairLJRelRes::coeff(int narg, char **arg) { if (narg != 6 && narg != 10) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -322,11 +322,11 @@ void PairLJRelRes::coeff(int narg, char **arg) } if (cut_inner_one <= 0.0 || cut_inner_one > cut_one) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (cutf_inner_one <= 0.0 || cutf_inner_one > cutf_one) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (cutf_one > cut_inner_one) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (epsilon_one == 0.0) { //set cutoff for fg interactions cut_inner_one = cutf_one; cut_one = cutf_one; @@ -348,7 +348,7 @@ void PairLJRelRes::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_smooth.cpp b/src/EXTRA-PAIR/pair_lj_smooth.cpp index 5092951dd3..309ca02b30 100644 --- a/src/EXTRA-PAIR/pair_lj_smooth.cpp +++ b/src/EXTRA-PAIR/pair_lj_smooth.cpp @@ -219,7 +219,7 @@ void PairLJSmooth::settings(int narg, char **arg) void PairLJSmooth::coeff(int narg, char **arg) { if (narg != 4 && narg != 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -237,7 +237,7 @@ void PairLJSmooth::coeff(int narg, char **arg) } if (cut_inner_one <= 0.0 || cut_inner_one > cut_one) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -251,7 +251,7 @@ void PairLJSmooth::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_lj_smooth_linear.cpp b/src/EXTRA-PAIR/pair_lj_smooth_linear.cpp index a1b847340f..cde36291a2 100644 --- a/src/EXTRA-PAIR/pair_lj_smooth_linear.cpp +++ b/src/EXTRA-PAIR/pair_lj_smooth_linear.cpp @@ -189,7 +189,7 @@ void PairLJSmoothLinear::settings(int narg, char **arg) void PairLJSmoothLinear::coeff(int narg, char **arg) { if (narg != 4 && narg != 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -215,7 +215,7 @@ void PairLJSmoothLinear::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_mie_cut.cpp b/src/EXTRA-PAIR/pair_mie_cut.cpp index 01e0104ae4..79b0ccd1f7 100644 --- a/src/EXTRA-PAIR/pair_mie_cut.cpp +++ b/src/EXTRA-PAIR/pair_mie_cut.cpp @@ -457,7 +457,7 @@ void PairMIECut::settings(int narg, char **arg) void PairMIECut::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -485,7 +485,7 @@ void PairMIECut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_momb.cpp b/src/EXTRA-PAIR/pair_momb.cpp index e6b03d623d..def4037157 100644 --- a/src/EXTRA-PAIR/pair_momb.cpp +++ b/src/EXTRA-PAIR/pair_momb.cpp @@ -211,7 +211,7 @@ void PairMomb::settings(int narg, char **arg) void PairMomb::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -242,7 +242,7 @@ void PairMomb::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-PAIR/pair_morse_smooth_linear.cpp b/src/EXTRA-PAIR/pair_morse_smooth_linear.cpp index 2cbcf29a66..9d3b3d4dc5 100644 --- a/src/EXTRA-PAIR/pair_morse_smooth_linear.cpp +++ b/src/EXTRA-PAIR/pair_morse_smooth_linear.cpp @@ -181,7 +181,7 @@ void PairMorseSmoothLinear::settings(int narg, char **arg) void PairMorseSmoothLinear::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -207,7 +207,7 @@ void PairMorseSmoothLinear::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/EXTRA-PAIR/pair_nm_cut.cpp b/src/EXTRA-PAIR/pair_nm_cut.cpp index 3156ec224d..d3c7dca54d 100644 --- a/src/EXTRA-PAIR/pair_nm_cut.cpp +++ b/src/EXTRA-PAIR/pair_nm_cut.cpp @@ -200,7 +200,7 @@ void PairNMCut::settings(int narg, char **arg) void PairNMCut::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -228,7 +228,7 @@ void PairNMCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_nm_cut_coul_cut.cpp b/src/EXTRA-PAIR/pair_nm_cut_coul_cut.cpp index 531f0e615f..1fb98e3f4b 100644 --- a/src/EXTRA-PAIR/pair_nm_cut_coul_cut.cpp +++ b/src/EXTRA-PAIR/pair_nm_cut_coul_cut.cpp @@ -224,7 +224,7 @@ void PairNMCutCoulCut::settings(int narg, char **arg) void PairNMCutCoulCut::coeff(int narg, char **arg) { - if (narg < 6 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 6 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -255,7 +255,7 @@ void PairNMCutCoulCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_nm_cut_coul_long.cpp b/src/EXTRA-PAIR/pair_nm_cut_coul_long.cpp index 2d4d048e26..cd36d4a262 100644 --- a/src/EXTRA-PAIR/pair_nm_cut_coul_long.cpp +++ b/src/EXTRA-PAIR/pair_nm_cut_coul_long.cpp @@ -258,7 +258,7 @@ void PairNMCutCoulLong::settings(int narg, char **arg) void PairNMCutCoulLong::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -286,7 +286,7 @@ void PairNMCutCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_pedone.cpp b/src/EXTRA-PAIR/pair_pedone.cpp index 9b8ce451d9..3f97c76a7d 100644 --- a/src/EXTRA-PAIR/pair_pedone.cpp +++ b/src/EXTRA-PAIR/pair_pedone.cpp @@ -189,7 +189,7 @@ void PairPedone::settings(int narg, char **arg) void PairPedone::coeff(int narg, char **arg) { - if (narg < 6 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 6 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -217,7 +217,7 @@ void PairPedone::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_ufm.cpp b/src/EXTRA-PAIR/pair_ufm.cpp index e45b0814b3..157e597227 100644 --- a/src/EXTRA-PAIR/pair_ufm.cpp +++ b/src/EXTRA-PAIR/pair_ufm.cpp @@ -182,7 +182,7 @@ void PairUFM::settings(int narg, char **arg) void PairUFM::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -208,7 +208,7 @@ void PairUFM::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/EXTRA-PAIR/pair_wf_cut.cpp b/src/EXTRA-PAIR/pair_wf_cut.cpp index d572521d90..bb1978ff8c 100644 --- a/src/EXTRA-PAIR/pair_wf_cut.cpp +++ b/src/EXTRA-PAIR/pair_wf_cut.cpp @@ -193,7 +193,7 @@ void PairWFCut::settings(int narg, char **arg) void PairWFCut::coeff(int narg, char **arg) { if (narg < 6 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -221,7 +221,7 @@ void PairWFCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_coul_cut_soft.cpp b/src/FEP/pair_coul_cut_soft.cpp index df4d19fc41..a1dd247dde 100644 --- a/src/FEP/pair_coul_cut_soft.cpp +++ b/src/FEP/pair_coul_cut_soft.cpp @@ -182,7 +182,7 @@ void PairCoulCutSoft::settings(int narg, char **arg) void PairCoulCutSoft::coeff(int narg, char **arg) { if (narg < 3 || narg > 4) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -204,7 +204,7 @@ void PairCoulCutSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/FEP/pair_coul_long_soft.cpp b/src/FEP/pair_coul_long_soft.cpp index bc3774fd1c..fd113e80c4 100644 --- a/src/FEP/pair_coul_long_soft.cpp +++ b/src/FEP/pair_coul_long_soft.cpp @@ -194,7 +194,7 @@ void PairCoulLongSoft::settings(int narg, char **arg) void PairCoulLongSoft::coeff(int narg, char **arg) { if (narg != 3) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -213,7 +213,7 @@ void PairCoulLongSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_charmm_coul_long_soft.cpp b/src/FEP/pair_lj_charmm_coul_long_soft.cpp index 1fa2ff6ea6..759e3c3ac6 100644 --- a/src/FEP/pair_lj_charmm_coul_long_soft.cpp +++ b/src/FEP/pair_lj_charmm_coul_long_soft.cpp @@ -669,7 +669,7 @@ void PairLJCharmmCoulLongSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_class2_coul_cut_soft.cpp b/src/FEP/pair_lj_class2_coul_cut_soft.cpp index 5dc8141190..c1ac05fddd 100644 --- a/src/FEP/pair_lj_class2_coul_cut_soft.cpp +++ b/src/FEP/pair_lj_class2_coul_cut_soft.cpp @@ -226,7 +226,7 @@ void PairLJClass2CoulCutSoft::settings(int narg, char **arg) void PairLJClass2CoulCutSoft::coeff(int narg, char **arg) { - if (narg < 5 || narg > 7) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 7) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -237,7 +237,7 @@ void PairLJClass2CoulCutSoft::coeff(int narg, char **arg) double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigma_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_lj_one = cut_lj_global; double cut_coul_one = cut_coul_global; @@ -257,7 +257,7 @@ void PairLJClass2CoulCutSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_class2_coul_long_soft.cpp b/src/FEP/pair_lj_class2_coul_long_soft.cpp index 43801ef5c6..a1d36d31be 100644 --- a/src/FEP/pair_lj_class2_coul_long_soft.cpp +++ b/src/FEP/pair_lj_class2_coul_long_soft.cpp @@ -233,7 +233,7 @@ void PairLJClass2CoulLongSoft::settings(int narg, char **arg) void PairLJClass2CoulLongSoft::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -244,7 +244,7 @@ void PairLJClass2CoulLongSoft::coeff(int narg, char **arg) double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigma_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_lj_one = cut_lj_global; if (narg == 6) cut_lj_one = utils::numeric(FLERR,arg[5],false,lmp); @@ -261,7 +261,7 @@ void PairLJClass2CoulLongSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_class2_soft.cpp b/src/FEP/pair_lj_class2_soft.cpp index 79d2f19da6..6fbe0e7566 100644 --- a/src/FEP/pair_lj_class2_soft.cpp +++ b/src/FEP/pair_lj_class2_soft.cpp @@ -191,7 +191,7 @@ void PairLJClass2Soft::settings(int narg, char **arg) void PairLJClass2Soft::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -201,7 +201,7 @@ void PairLJClass2Soft::coeff(int narg, char **arg) double epsilon_one = utils::numeric(FLERR,arg[2],false,lmp); double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); - if (sigma_one <= 0.0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (sigma_one <= 0.0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_one = cut_global; if (narg == 6) cut_one = utils::numeric(FLERR,arg[5],false,lmp); @@ -218,7 +218,7 @@ void PairLJClass2Soft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_cut_coul_cut_soft.cpp b/src/FEP/pair_lj_cut_coul_cut_soft.cpp index 1405a18cf1..844d4fc1e7 100644 --- a/src/FEP/pair_lj_cut_coul_cut_soft.cpp +++ b/src/FEP/pair_lj_cut_coul_cut_soft.cpp @@ -227,7 +227,7 @@ void PairLJCutCoulCutSoft::settings(int narg, char **arg) void PairLJCutCoulCutSoft::coeff(int narg, char **arg) { if (narg < 5 || narg > 7) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -238,7 +238,7 @@ void PairLJCutCoulCutSoft::coeff(int narg, char **arg) double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigma_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_lj_one = cut_lj_global; double cut_coul_one = cut_coul_global; @@ -258,7 +258,7 @@ void PairLJCutCoulCutSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_cut_coul_long_soft.cpp b/src/FEP/pair_lj_cut_coul_long_soft.cpp index a5f9f03d12..e7251e44bd 100644 --- a/src/FEP/pair_lj_cut_coul_long_soft.cpp +++ b/src/FEP/pair_lj_cut_coul_long_soft.cpp @@ -584,7 +584,7 @@ void PairLJCutCoulLongSoft::settings(int narg, char **arg) void PairLJCutCoulLongSoft::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -595,7 +595,7 @@ void PairLJCutCoulLongSoft::coeff(int narg, char **arg) double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigma_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_lj_one = cut_lj_global; if (narg == 6) cut_lj_one = utils::numeric(FLERR,arg[5],false,lmp); @@ -612,7 +612,7 @@ void PairLJCutCoulLongSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_lj_cut_soft.cpp b/src/FEP/pair_lj_cut_soft.cpp index 95c88132a0..bbbd23f8b7 100644 --- a/src/FEP/pair_lj_cut_soft.cpp +++ b/src/FEP/pair_lj_cut_soft.cpp @@ -471,7 +471,7 @@ void PairLJCutSoft::settings(int narg, char **arg) void PairLJCutSoft::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -482,7 +482,7 @@ void PairLJCutSoft::coeff(int narg, char **arg) double sigma_one = utils::numeric(FLERR,arg[3],false,lmp); double lambda_one = utils::numeric(FLERR,arg[4],false,lmp); if (sigma_one <= 0.0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double cut_one = cut_global; if (narg == 6) cut_one = utils::numeric(FLERR,arg[5],false,lmp); @@ -499,7 +499,7 @@ void PairLJCutSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/FEP/pair_morse_soft.cpp b/src/FEP/pair_morse_soft.cpp index e2cb92e303..e13defefa6 100644 --- a/src/FEP/pair_morse_soft.cpp +++ b/src/FEP/pair_morse_soft.cpp @@ -166,7 +166,7 @@ void PairMorseSoft::allocate() void PairMorseSoft::coeff(int narg, char **arg) { - if (narg < 6 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 6 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -194,7 +194,7 @@ void PairMorseSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/GPU/pair_eam_alloy_gpu.cpp b/src/GPU/pair_eam_alloy_gpu.cpp index 971014296d..cc1b88d5e9 100644 --- a/src/GPU/pair_eam_alloy_gpu.cpp +++ b/src/GPU/pair_eam_alloy_gpu.cpp @@ -335,7 +335,7 @@ void PairEAMAlloyGPU::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/GPU/pair_eam_fs_gpu.cpp b/src/GPU/pair_eam_fs_gpu.cpp index 58dcc9c868..7b6d3164c4 100644 --- a/src/GPU/pair_eam_fs_gpu.cpp +++ b/src/GPU/pair_eam_fs_gpu.cpp @@ -335,7 +335,7 @@ void PairEAMFSGPU::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/GRANULAR/pair_gran_hooke_history.cpp b/src/GRANULAR/pair_gran_hooke_history.cpp index 79bf2b87aa..57f9d2510f 100644 --- a/src/GRANULAR/pair_gran_hooke_history.cpp +++ b/src/GRANULAR/pair_gran_hooke_history.cpp @@ -407,7 +407,7 @@ void PairGranHookeHistory::settings(int narg, char **arg) void PairGranHookeHistory::coeff(int narg, char **arg) { - if (narg > 2) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg > 2) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -422,7 +422,7 @@ void PairGranHookeHistory::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/GRANULAR/pair_granular.cpp b/src/GRANULAR/pair_granular.cpp index bae3371ebc..05bc911689 100644 --- a/src/GRANULAR/pair_granular.cpp +++ b/src/GRANULAR/pair_granular.cpp @@ -334,7 +334,7 @@ void PairGranular::coeff(int narg, char **arg) double cutoff_one = -1; if (narg < 3) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -394,7 +394,7 @@ void PairGranular::coeff(int narg, char **arg) // If there are > ntype^2 models, delete unused models if (nmodels == maxmodels) prune_models(); - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/INTEL/pair_eam_alloy_intel.cpp b/src/INTEL/pair_eam_alloy_intel.cpp index 1f2b4cd257..93ef071fd8 100644 --- a/src/INTEL/pair_eam_alloy_intel.cpp +++ b/src/INTEL/pair_eam_alloy_intel.cpp @@ -100,7 +100,7 @@ void PairEAMAlloyIntel::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/INTEL/pair_eam_fs_intel.cpp b/src/INTEL/pair_eam_fs_intel.cpp index 7b62378310..5f0fe2c418 100644 --- a/src/INTEL/pair_eam_fs_intel.cpp +++ b/src/INTEL/pair_eam_fs_intel.cpp @@ -100,7 +100,7 @@ void PairEAMFSIntel::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/INTEL/pair_snap_intel.cpp b/src/INTEL/pair_snap_intel.cpp index c9a4ed3d5a..7b388206b4 100644 --- a/src/INTEL/pair_snap_intel.cpp +++ b/src/INTEL/pair_snap_intel.cpp @@ -347,7 +347,7 @@ void PairSNAPIntel::settings(int narg, char ** /* arg */) void PairSNAPIntel::coeff(int narg, char **arg) { if (!allocated) allocate(); - if (narg != 4 + atom->ntypes) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 4 + atom->ntypes) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); map_element2type(narg-4,arg+4); diff --git a/src/INTERLAYER/pair_coul_shield.cpp b/src/INTERLAYER/pair_coul_shield.cpp index a5e3e63442..203bef9d92 100644 --- a/src/INTERLAYER/pair_coul_shield.cpp +++ b/src/INTERLAYER/pair_coul_shield.cpp @@ -201,7 +201,7 @@ void PairCoulShield::settings(int narg, char **arg) void PairCoulShield::coeff(int narg, char **arg) { - if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -223,7 +223,7 @@ void PairCoulShield::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/INTERLAYER/pair_kolmogorov_crespi_z.cpp b/src/INTERLAYER/pair_kolmogorov_crespi_z.cpp index dc1b82647a..fa0fe9cad1 100644 --- a/src/INTERLAYER/pair_kolmogorov_crespi_z.cpp +++ b/src/INTERLAYER/pair_kolmogorov_crespi_z.cpp @@ -235,7 +235,7 @@ void PairKolmogorovCrespiZ::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/INTERLAYER/pair_lebedeva_z.cpp b/src/INTERLAYER/pair_lebedeva_z.cpp index b68db0184f..ff9f9dedaa 100644 --- a/src/INTERLAYER/pair_lebedeva_z.cpp +++ b/src/INTERLAYER/pair_lebedeva_z.cpp @@ -232,7 +232,7 @@ void PairLebedevaZ::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KIM/pair_kim.cpp b/src/KIM/pair_kim.cpp index 024b5ccf40..93ba759de4 100644 --- a/src/KIM/pair_kim.cpp +++ b/src/KIM/pair_kim.cpp @@ -364,7 +364,7 @@ void PairKIM::coeff(int narg, char **arg) if (!allocated) allocate(); if (narg < 2 + atom->ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read args that map atom species to KIM elements // lmps_map_species_to_unique[i] = @@ -407,7 +407,7 @@ void PairKIM::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // setup mapping between LAMMPS unique elements and KIM species codes if (kim_particle_codes_ok) { diff --git a/src/KOKKOS/pair_eam_alloy_kokkos.cpp b/src/KOKKOS/pair_eam_alloy_kokkos.cpp index 90a82616a6..5d9f4f3f8b 100644 --- a/src/KOKKOS/pair_eam_alloy_kokkos.cpp +++ b/src/KOKKOS/pair_eam_alloy_kokkos.cpp @@ -1229,7 +1229,7 @@ void PairEAMAlloyKokkos::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KOKKOS/pair_eam_fs_kokkos.cpp b/src/KOKKOS/pair_eam_fs_kokkos.cpp index 11719a8979..a2bd7651cb 100644 --- a/src/KOKKOS/pair_eam_fs_kokkos.cpp +++ b/src/KOKKOS/pair_eam_fs_kokkos.cpp @@ -1229,7 +1229,7 @@ void PairEAMFSKokkos::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KOKKOS/pair_hybrid_overlay_kokkos.cpp b/src/KOKKOS/pair_hybrid_overlay_kokkos.cpp index 387212f383..9f1d61516f 100644 --- a/src/KOKKOS/pair_hybrid_overlay_kokkos.cpp +++ b/src/KOKKOS/pair_hybrid_overlay_kokkos.cpp @@ -31,7 +31,7 @@ PairHybridOverlayKokkos::PairHybridOverlayKokkos(LAMMPS *lmp) : PairHybridKokkos void PairHybridOverlayKokkos::coeff(int narg, char **arg) { - if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -50,7 +50,7 @@ void PairHybridOverlayKokkos::coeff(int narg, char **arg) if (strcmp(arg[2],keywords[m]) == 0) { if (multiple[m]) { multflag = 1; - if (narg < 4) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 4) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (multiple[m] == utils::inumeric(FLERR,arg[3],false,lmp)) break; else continue; } else break; @@ -74,7 +74,7 @@ void PairHybridOverlayKokkos::coeff(int narg, char **arg) if (!none && styles[m]->one_coeff) if ((strcmp(arg[0],"*") != 0) || (strcmp(arg[1],"*") != 0)) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // invoke sub-style coeff() starting with 1st remaining arg @@ -104,7 +104,7 @@ void PairHybridOverlayKokkos::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/KOKKOS/pair_mliap_kokkos.cpp b/src/KOKKOS/pair_mliap_kokkos.cpp index 599c49f523..a57ef44c39 100644 --- a/src/KOKKOS/pair_mliap_kokkos.cpp +++ b/src/KOKKOS/pair_mliap_kokkos.cpp @@ -214,7 +214,7 @@ void PairMLIAPKokkos::settings(int narg, char ** arg) template void PairMLIAPKokkos::coeff(int narg, char **arg) { - if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) { PairMLIAP::allocate(); allocate(); @@ -227,7 +227,7 @@ void PairMLIAPKokkos::coeff(int narg, char **arg) { // ensure I,J args are * * if (strcmp(type1,"*") != 0 || strcmp(type2,"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read args that map atom types to elements // map[i] = which element the Ith atom type is, -1 if not mapped @@ -244,7 +244,7 @@ void PairMLIAPKokkos::coeff(int narg, char **arg) { if (jelem < descriptor->nelements) map[i] = jelem; else if (strcmp(elemname,"NULL") == 0) map[i] = -1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } k_map.modify(); k_map.sync(); @@ -268,7 +268,7 @@ void PairMLIAPKokkos::coeff(int narg, char **arg) { k_setflag.modify(); k_setflag.sync(); - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // set up model, descriptor, and mliap data structures model->init(); diff --git a/src/KSPACE/pair_born_coul_long.cpp b/src/KSPACE/pair_born_coul_long.cpp index 0165beba0d..e9abe539c1 100644 --- a/src/KSPACE/pair_born_coul_long.cpp +++ b/src/KSPACE/pair_born_coul_long.cpp @@ -256,7 +256,7 @@ void PairBornCoulLong::settings(int narg, char **arg) void PairBornCoulLong::coeff(int narg, char **arg) { - if (narg < 7 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 7 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -266,7 +266,7 @@ void PairBornCoulLong::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); double sigma_one = utils::numeric(FLERR,arg[4],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[5],false,lmp); double d_one = utils::numeric(FLERR,arg[6],false,lmp); @@ -287,7 +287,7 @@ void PairBornCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_buck_coul_long.cpp b/src/KSPACE/pair_buck_coul_long.cpp index a6a86f3d45..f3b7a91c0e 100644 --- a/src/KSPACE/pair_buck_coul_long.cpp +++ b/src/KSPACE/pair_buck_coul_long.cpp @@ -256,7 +256,7 @@ void PairBuckCoulLong::settings(int narg, char **arg) void PairBuckCoulLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -265,7 +265,7 @@ void PairBuckCoulLong::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[4],false,lmp); double cut_lj_one = cut_lj_global; @@ -283,7 +283,7 @@ void PairBuckCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_buck_long_coul_long.cpp b/src/KSPACE/pair_buck_long_coul_long.cpp index e7cce1071a..e1dac0a61b 100644 --- a/src/KSPACE/pair_buck_long_coul_long.cpp +++ b/src/KSPACE/pair_buck_long_coul_long.cpp @@ -191,7 +191,7 @@ void *PairBuckLongCoulLong::extract(const char *id, int &dim) void PairBuckLongCoulLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -217,7 +217,7 @@ void PairBuckLongCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_coul_long.cpp b/src/KSPACE/pair_coul_long.cpp index ef1b60ac56..65ec9875cf 100644 --- a/src/KSPACE/pair_coul_long.cpp +++ b/src/KSPACE/pair_coul_long.cpp @@ -200,7 +200,7 @@ void PairCoulLong::settings(int narg, char **arg) void PairCoulLong::coeff(int narg, char **arg) { - if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -216,7 +216,7 @@ void PairCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_lj_charmm_coul_long.cpp b/src/KSPACE/pair_lj_charmm_coul_long.cpp index ef367f8742..ceee04f811 100644 --- a/src/KSPACE/pair_lj_charmm_coul_long.cpp +++ b/src/KSPACE/pair_lj_charmm_coul_long.cpp @@ -666,7 +666,7 @@ void PairLJCharmmCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_lj_charmmfsw_coul_long.cpp b/src/KSPACE/pair_lj_charmmfsw_coul_long.cpp index a0889d92ea..e0074da0ae 100644 --- a/src/KSPACE/pair_lj_charmmfsw_coul_long.cpp +++ b/src/KSPACE/pair_lj_charmmfsw_coul_long.cpp @@ -717,7 +717,7 @@ void PairLJCharmmfswCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_lj_cut_coul_long.cpp b/src/KSPACE/pair_lj_cut_coul_long.cpp index 969f235c55..a6b268e901 100644 --- a/src/KSPACE/pair_lj_cut_coul_long.cpp +++ b/src/KSPACE/pair_lj_cut_coul_long.cpp @@ -611,7 +611,7 @@ void PairLJCutCoulLong::settings(int narg, char **arg) void PairLJCutCoulLong::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -635,7 +635,7 @@ void PairLJCutCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/KSPACE/pair_lj_long_coul_long.cpp b/src/KSPACE/pair_lj_long_coul_long.cpp index 2955b24fe8..ab80e992b2 100644 --- a/src/KSPACE/pair_lj_long_coul_long.cpp +++ b/src/KSPACE/pair_lj_long_coul_long.cpp @@ -187,7 +187,7 @@ void *PairLJLongCoulLong::extract(const char *id, int &dim) void PairLJLongCoulLong::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -211,7 +211,7 @@ void PairLJLongCoulLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/LEPTON/pair_lepton.cpp b/src/LEPTON/pair_lepton.cpp index 90003e9091..e55a77a583 100644 --- a/src/LEPTON/pair_lepton.cpp +++ b/src/LEPTON/pair_lepton.cpp @@ -216,7 +216,7 @@ void PairLepton::settings(int narg, char **arg) void PairLepton::coeff(int narg, char **arg) { - if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect number of args for pair coefficients"); + if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect number of args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -270,7 +270,7 @@ void PairLepton::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- */ diff --git a/src/MACHDYN/pair_smd_hertz.cpp b/src/MACHDYN/pair_smd_hertz.cpp index 99e8ae6426..32b488ef03 100644 --- a/src/MACHDYN/pair_smd_hertz.cpp +++ b/src/MACHDYN/pair_smd_hertz.cpp @@ -253,7 +253,7 @@ void PairHertz::settings(int narg, char **arg) { void PairHertz::coeff(int narg, char **arg) { if (narg != 3) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -282,7 +282,7 @@ void PairHertz::coeff(int narg, char **arg) { } if (count == 0) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MACHDYN/pair_smd_triangulated_surface.cpp b/src/MACHDYN/pair_smd_triangulated_surface.cpp index dc777cc66f..da9d5faa12 100644 --- a/src/MACHDYN/pair_smd_triangulated_surface.cpp +++ b/src/MACHDYN/pair_smd_triangulated_surface.cpp @@ -335,7 +335,7 @@ void PairTriSurf::settings(int narg, char **arg) { void PairTriSurf::coeff(int narg, char **arg) { if (narg != 3) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -364,7 +364,7 @@ void PairTriSurf::coeff(int narg, char **arg) { } if (count == 0) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_adp.cpp b/src/MANYBODY/pair_adp.cpp index 6a9cfd201b..6e7f5a7b82 100644 --- a/src/MANYBODY/pair_adp.cpp +++ b/src/MANYBODY/pair_adp.cpp @@ -441,12 +441,12 @@ void PairADP::coeff(int narg, char **arg) if (!allocated) allocate(); if (narg != 3 + atom->ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // ensure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read ADP parameter file @@ -499,7 +499,7 @@ void PairADP::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/MANYBODY/pair_airebo.cpp b/src/MANYBODY/pair_airebo.cpp index 3d5334a471..4a3c3351ba 100644 --- a/src/MANYBODY/pair_airebo.cpp +++ b/src/MANYBODY/pair_airebo.cpp @@ -215,7 +215,7 @@ void PairAIREBO::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_atm.cpp b/src/MANYBODY/pair_atm.cpp index 671b77b206..3d7e5e2600 100644 --- a/src/MANYBODY/pair_atm.cpp +++ b/src/MANYBODY/pair_atm.cpp @@ -222,7 +222,7 @@ void PairATM::settings(int narg, char **arg) void PairATM::coeff(int narg, char **arg) { - if (narg != 4) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 4) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -259,7 +259,7 @@ void PairATM::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_eam.cpp b/src/MANYBODY/pair_eam.cpp index e4a0155ab9..b5a0ca0f77 100644 --- a/src/MANYBODY/pair_eam.cpp +++ b/src/MANYBODY/pair_eam.cpp @@ -384,7 +384,7 @@ void PairEAM::coeff(int narg, char **arg) { if (!allocated) allocate(); - if (narg != 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // parse pair of atom types @@ -423,7 +423,7 @@ void PairEAM::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_eam_alloy.cpp b/src/MANYBODY/pair_eam_alloy.cpp index 0163cb6ed5..974c258a75 100644 --- a/src/MANYBODY/pair_eam_alloy.cpp +++ b/src/MANYBODY/pair_eam_alloy.cpp @@ -100,7 +100,7 @@ void PairEAMAlloy::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_eam_fs.cpp b/src/MANYBODY/pair_eam_fs.cpp index da4e2882b0..529b422288 100644 --- a/src/MANYBODY/pair_eam_fs.cpp +++ b/src/MANYBODY/pair_eam_fs.cpp @@ -101,7 +101,7 @@ void PairEAMFS::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_eim.cpp b/src/MANYBODY/pair_eim.cpp index 8a296b9133..6cb7ea674a 100644 --- a/src/MANYBODY/pair_eim.cpp +++ b/src/MANYBODY/pair_eim.cpp @@ -347,12 +347,12 @@ void PairEIM::coeff(int narg, char **arg) { if (!allocated) allocate(); - if (narg < 5) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 5) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // ensure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); const int ntypes = atom->ntypes; map_element2type(ntypes,arg+(narg-ntypes)); diff --git a/src/MANYBODY/pair_lcbop.cpp b/src/MANYBODY/pair_lcbop.cpp index d4f8cd4ec4..75fd0f441e 100644 --- a/src/MANYBODY/pair_lcbop.cpp +++ b/src/MANYBODY/pair_lcbop.cpp @@ -131,7 +131,7 @@ void PairLCBOP::coeff(int narg, char **arg) // only element "C" is allowed if ((nelements != 1) || (strcmp(elements[0],"C") != 0)) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read potential file and initialize fitting splines diff --git a/src/MANYBODY/pair_local_density.cpp b/src/MANYBODY/pair_local_density.cpp index da405e9118..86d3ad6de4 100644 --- a/src/MANYBODY/pair_local_density.cpp +++ b/src/MANYBODY/pair_local_density.cpp @@ -382,12 +382,12 @@ void PairLocalDensity::coeff(int narg, char **arg) int i, j; if (!allocated) allocate(); - if (narg != 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // ensure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // parse LD file @@ -409,7 +409,7 @@ void PairLocalDensity::coeff(int narg, char **arg) count++; } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_meam_spline.cpp b/src/MANYBODY/pair_meam_spline.cpp index e3d17f6fae..160bde5916 100644 --- a/src/MANYBODY/pair_meam_spline.cpp +++ b/src/MANYBODY/pair_meam_spline.cpp @@ -382,7 +382,7 @@ void PairMEAMSpline::coeff(int narg, char **arg) int i,j,n; if (narg != 3 + atom->ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read potential file: also sets the number of elements. read_file(arg[2]); @@ -428,7 +428,7 @@ void PairMEAMSpline::coeff(int narg, char **arg) setflag[i][j] = 1; count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // check that each element is mapped to exactly one atom type diff --git a/src/MANYBODY/pair_rebomos.cpp b/src/MANYBODY/pair_rebomos.cpp index 0941ca0a3a..b8f3c6fde5 100644 --- a/src/MANYBODY/pair_rebomos.cpp +++ b/src/MANYBODY/pair_rebomos.cpp @@ -154,12 +154,12 @@ void PairREBOMoS::coeff(int narg, char **arg) if (!allocated) allocate(); if (narg != 3 + atom->ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // insure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read args that map atom types to Mo and S // map[i] = which element (0,1) the Ith atom type is, -1 if NULL @@ -174,7 +174,7 @@ void PairREBOMoS::coeff(int narg, char **arg) map[i-2] = 0; } else if (strcmp(arg[i],"S") == 0) { map[i-2] = 1; - } else error->all(FLERR,"Incorrect args for pair coefficients"); + } else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } // read potential file and initialize fitting splines @@ -198,7 +198,7 @@ void PairREBOMoS::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MANYBODY/pair_sw.cpp b/src/MANYBODY/pair_sw.cpp index 74d1ae1871..a28e523831 100644 --- a/src/MANYBODY/pair_sw.cpp +++ b/src/MANYBODY/pair_sw.cpp @@ -305,7 +305,7 @@ void PairSW::coeff(int narg, char **arg) count++; } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } } diff --git a/src/MC/pair_dsmc.cpp b/src/MC/pair_dsmc.cpp index 1c152906b3..a570113d07 100644 --- a/src/MC/pair_dsmc.cpp +++ b/src/MC/pair_dsmc.cpp @@ -240,7 +240,7 @@ void PairDSMC::settings(int narg, char **arg) void PairDSMC::coeff(int narg, char **arg) { - if (narg < 3 || narg > 4) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 3 || narg > 4) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -262,7 +262,7 @@ void PairDSMC::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MEAM/pair_meam.cpp b/src/MEAM/pair_meam.cpp index 4138e9c31b..001d753512 100644 --- a/src/MEAM/pair_meam.cpp +++ b/src/MEAM/pair_meam.cpp @@ -234,9 +234,9 @@ void PairMEAM::coeff(int narg, char **arg) } if (paridx < 0) { if (msmeamflag) - error->all(FLERR, Error::NOPOINTER, "No MS-MEAM parameter file in pair coefficients"); + error->all(FLERR, Error::NOPOINTER, "No MS-MEAM parameter file in pair coefficients" + utils::errorurl(21)); else - error->all(FLERR, Error::NOPOINTER, "No MEAM parameter file in pair coefficients"); + error->all(FLERR, Error::NOPOINTER, "No MEAM parameter file in pair coefficients" + utils::errorurl(21)); } if ((narg - paridx - 1) != atom->ntypes) error->all(FLERR, Error::NOPOINTER, "Expected {} but found {} args for pair style {} " @@ -252,7 +252,7 @@ void PairMEAM::coeff(int narg, char **arg) } nlibelements = paridx - 3; - if (nlibelements < 1) error->all(FLERR, "Incorrect args for pair coefficients"); + if (nlibelements < 1) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (nlibelements > MAXELT) error->all(FLERR, "Too many elements extracted from MEAM library (current limit: {}). " diff --git a/src/MGPT/pair_mgpt.cpp b/src/MGPT/pair_mgpt.cpp index 986c3e4aef..c5cb1d1325 100644 --- a/src/MGPT/pair_mgpt.cpp +++ b/src/MGPT/pair_mgpt.cpp @@ -1846,7 +1846,7 @@ void PairMGPT::coeff(int narg, char **arg) // Make sure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double vol; if (sscanf(arg[4], "%lg", &vol) != 1 || vol <= 0.0) @@ -1862,7 +1862,7 @@ void PairMGPT::coeff(int narg, char **arg) while (iarg < narg) { if (strcmp(arg[iarg],"volpress") == 0) { /* Volumetric pressure flag */ if (iarg+2 > narg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (strcmp(arg[iarg+1],"yes") == 0) volpres_flag = 1; else if (strcmp(arg[iarg+1],"no") == 0) volpres_flag = 0; else { @@ -1876,7 +1876,7 @@ void PairMGPT::coeff(int narg, char **arg) if (comm->me == 0) printf("* volpress: volpres_flag = %d [%s %s]\n",volpres_flag,arg[iarg-2],arg[iarg-1]); } else if (strcmp(arg[iarg],"nbody") == 0) { if (iarg+2 > narg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (strspn(arg[iarg+1],"1234") == strlen(arg[iarg+1])) { nbody_flag = 0; for (int i = 0; i<4; i++) @@ -1897,7 +1897,7 @@ void PairMGPT::coeff(int narg, char **arg) iarg += 2; } else if (strcmp(arg[iarg],"precision") == 0) { if (iarg+2 > narg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (strcmp(arg[iarg+1],"single") == 0) single_precision = 1; else if (strcmp(arg[iarg+1],"double") == 0) single_precision = 0; else { diff --git a/src/MISC/pair_list.cpp b/src/MISC/pair_list.cpp index 25e53149f6..0a92821a33 100644 --- a/src/MISC/pair_list.cpp +++ b/src/MISC/pair_list.cpp @@ -361,7 +361,7 @@ void PairList::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MISC/pair_tracker.cpp b/src/MISC/pair_tracker.cpp index 72463d84e9..43a576d963 100644 --- a/src/MISC/pair_tracker.cpp +++ b/src/MISC/pair_tracker.cpp @@ -309,8 +309,8 @@ void PairTracker::settings(int narg, char **arg) void PairTracker::coeff(int narg, char **arg) { - if (narg > 2 && finitecutflag) error->all(FLERR, "Incorrect args for pair coefficients"); - if (narg != 3 && !finitecutflag) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg > 2 && finitecutflag) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); + if (narg != 3 && !finitecutflag) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -329,7 +329,7 @@ void PairTracker::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/ML-HDNNP/pair_hdnnp.cpp b/src/ML-HDNNP/pair_hdnnp.cpp index cfe1e0bb64..5b5802605c 100644 --- a/src/ML-HDNNP/pair_hdnnp.cpp +++ b/src/ML-HDNNP/pair_hdnnp.cpp @@ -189,10 +189,10 @@ void PairHDNNP::coeff(int narg, char **arg) if (!allocated) allocate(); - if (narg != 2 + n) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 2 + n) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (strcmp(arg[0], "*") != 0 || strcmp(arg[1], "*") != 0) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); int *map = new int[n + 1]; for (int i = 0; i < n; i++) map[i] = 0; @@ -214,7 +214,7 @@ void PairHDNNP::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); delete[] map; } diff --git a/src/ML-IAP/pair_mliap.cpp b/src/ML-IAP/pair_mliap.cpp index 8585fffadb..b72e9bd481 100644 --- a/src/ML-IAP/pair_mliap.cpp +++ b/src/ML-IAP/pair_mliap.cpp @@ -226,7 +226,7 @@ void PairMLIAP::settings(int narg, char ** arg) void PairMLIAP::coeff(int narg, char **arg) { - if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); char** elemtypes = &arg[2]; @@ -245,7 +245,7 @@ void PairMLIAP::coeff(int narg, char **arg) if (jelem < descriptor->nelements) map[i] = jelem; else if (strcmp(elemname,"NULL") == 0) map[i] = -1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } // clear setflag since coeff() called once with I,J = * * @@ -265,7 +265,7 @@ void PairMLIAP::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // set up model, descriptor, and mliap data structures diff --git a/src/ML-QUIP/pair_quip.cpp b/src/ML-QUIP/pair_quip.cpp index 35ba4ff8e4..7f8e6fd6af 100644 --- a/src/ML-QUIP/pair_quip.cpp +++ b/src/ML-QUIP/pair_quip.cpp @@ -279,7 +279,7 @@ void PairQUIP::coeff(int narg, char **arg) count++; } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); // Initialise potential // First call initializes potential via the fortran code in memory, diff --git a/src/ML-RANN/pair_rann.cpp b/src/ML-RANN/pair_rann.cpp index 4ec1f45703..d1e4fc1671 100644 --- a/src/ML-RANN/pair_rann.cpp +++ b/src/ML-RANN/pair_rann.cpp @@ -302,8 +302,8 @@ void PairRANN::coeff(int narg, char **arg) int i,j; deallocate();//clear allocation from any previous coeff map = new int[atom->ntypes+1]; - if (narg != 3 + atom->ntypes) error->one(FLERR,"Incorrect args for pair coefficients"); - if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) error->one(FLERR,"Incorrect args for pair coefficients"); + if (narg != 3 + atom->ntypes) error->one(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); + if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) error->one(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); nelements = -1; read_file(arg[2]); // read args that map atom types to elements in potential file @@ -338,7 +338,7 @@ void PairRANN::coeff(int narg, char **arg) } } } - if (count == 0) error->one(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->one(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); for (i=0;iallocate(); diff --git a/src/MOFFF/pair_buck6d_coul_gauss_dsf.cpp b/src/MOFFF/pair_buck6d_coul_gauss_dsf.cpp index 71a6e7facf..ced0528ac6 100644 --- a/src/MOFFF/pair_buck6d_coul_gauss_dsf.cpp +++ b/src/MOFFF/pair_buck6d_coul_gauss_dsf.cpp @@ -274,7 +274,7 @@ void PairBuck6dCoulGaussDSF::settings(int narg, char **arg) void PairBuck6dCoulGaussDSF::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -304,7 +304,7 @@ void PairBuck6dCoulGaussDSF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOFFF/pair_buck6d_coul_gauss_long.cpp b/src/MOFFF/pair_buck6d_coul_gauss_long.cpp index 2ccc921448..72919312e5 100644 --- a/src/MOFFF/pair_buck6d_coul_gauss_long.cpp +++ b/src/MOFFF/pair_buck6d_coul_gauss_long.cpp @@ -289,7 +289,7 @@ void PairBuck6dCoulGaussLong::settings(int narg, char **arg) void PairBuck6dCoulGaussLong::coeff(int narg, char **arg) { if (narg < 7 || narg > 8) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -319,7 +319,7 @@ void PairBuck6dCoulGaussLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_hbond_dreiding_lj.cpp b/src/MOLECULE/pair_hbond_dreiding_lj.cpp index fd0e61edd2..2de43b6215 100644 --- a/src/MOLECULE/pair_hbond_dreiding_lj.cpp +++ b/src/MOLECULE/pair_hbond_dreiding_lj.cpp @@ -334,7 +334,7 @@ void PairHbondDreidingLJ::coeff(int narg, char **arg) // check settings if (narg < 6 || narg > maxarg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -346,7 +346,7 @@ void PairHbondDreidingLJ::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double epsilon_one = utils::numeric(FLERR, arg[4], false, lmp); double sigma_one = utils::numeric(FLERR, arg[5], false, lmp); @@ -400,7 +400,7 @@ void PairHbondDreidingLJ::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_hbond_dreiding_morse.cpp b/src/MOLECULE/pair_hbond_dreiding_morse.cpp index 8506765984..c5465a076a 100644 --- a/src/MOLECULE/pair_hbond_dreiding_morse.cpp +++ b/src/MOLECULE/pair_hbond_dreiding_morse.cpp @@ -249,7 +249,7 @@ void PairHbondDreidingMorse::coeff(int narg, char **arg) int maxarg = 12; if (angle_offset_flag == 1) maxarg = 12; if (narg < 7 || narg > maxarg) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -260,7 +260,7 @@ void PairHbondDreidingMorse::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double d0_one = utils::numeric(FLERR, arg[4], false, lmp); double alpha_one = utils::numeric(FLERR, arg[5], false, lmp); @@ -318,7 +318,7 @@ void PairHbondDreidingMorse::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_lj_charmm_coul_charmm.cpp b/src/MOLECULE/pair_lj_charmm_coul_charmm.cpp index 237b843ec5..d7986a67bd 100644 --- a/src/MOLECULE/pair_lj_charmm_coul_charmm.cpp +++ b/src/MOLECULE/pair_lj_charmm_coul_charmm.cpp @@ -243,7 +243,7 @@ void PairLJCharmmCoulCharmm::settings(int narg, char **arg) void PairLJCharmmCoulCharmm::coeff(int narg, char **arg) { if (narg != 4 && narg != 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -271,7 +271,7 @@ void PairLJCharmmCoulCharmm::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_lj_charmmfsw_coul_charmmfsh.cpp b/src/MOLECULE/pair_lj_charmmfsw_coul_charmmfsh.cpp index 65caa46153..ae3e680c65 100644 --- a/src/MOLECULE/pair_lj_charmmfsw_coul_charmmfsh.cpp +++ b/src/MOLECULE/pair_lj_charmmfsw_coul_charmmfsh.cpp @@ -267,7 +267,7 @@ void PairLJCharmmfswCoulCharmmfsh::settings(int narg, char **arg) void PairLJCharmmfswCoulCharmmfsh::coeff(int narg, char **arg) { if (narg != 4 && narg != 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -295,7 +295,7 @@ void PairLJCharmmfswCoulCharmmfsh::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_lj_cut_tip4p_cut.cpp b/src/MOLECULE/pair_lj_cut_tip4p_cut.cpp index b8946b67f4..504db90de0 100644 --- a/src/MOLECULE/pair_lj_cut_tip4p_cut.cpp +++ b/src/MOLECULE/pair_lj_cut_tip4p_cut.cpp @@ -458,7 +458,7 @@ void PairLJCutTIP4PCut::settings(int narg, char **arg) void PairLJCutTIP4PCut::coeff(int narg, char **arg) { if (narg < 4 || narg > 5) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); // set atom types from pair_style command unless we were restarted @@ -492,7 +492,7 @@ void PairLJCutTIP4PCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/MOLECULE/pair_tip4p_cut.cpp b/src/MOLECULE/pair_tip4p_cut.cpp index c914cb0ec0..fe3494ee85 100644 --- a/src/MOLECULE/pair_tip4p_cut.cpp +++ b/src/MOLECULE/pair_tip4p_cut.cpp @@ -393,7 +393,7 @@ void PairTIP4PCut::settings(int narg, char **arg) void PairTIP4PCut::coeff(int narg, char **arg) { if (narg != 2) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); // set atom types from pair_style command unless we were restarted @@ -418,7 +418,7 @@ void PairTIP4PCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/OPENMP/pair_coul_cut_global_omp.cpp b/src/OPENMP/pair_coul_cut_global_omp.cpp index c4236295a1..783cf9dc73 100644 --- a/src/OPENMP/pair_coul_cut_global_omp.cpp +++ b/src/OPENMP/pair_coul_cut_global_omp.cpp @@ -27,7 +27,7 @@ using namespace LAMMPS_NS; void PairCoulCutGlobalOMP::coeff(int narg, char **arg) { if (narg != 2) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); PairCoulCut::coeff(narg,arg); } diff --git a/src/OPENMP/pair_eam_alloy_omp.cpp b/src/OPENMP/pair_eam_alloy_omp.cpp index e78fafb193..6b9cbbe57e 100644 --- a/src/OPENMP/pair_eam_alloy_omp.cpp +++ b/src/OPENMP/pair_eam_alloy_omp.cpp @@ -99,7 +99,7 @@ void PairEAMAlloyOMP::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/OPENMP/pair_eam_fs_omp.cpp b/src/OPENMP/pair_eam_fs_omp.cpp index 1674c09e7a..423919013c 100644 --- a/src/OPENMP/pair_eam_fs_omp.cpp +++ b/src/OPENMP/pair_eam_fs_omp.cpp @@ -99,7 +99,7 @@ void PairEAMFSOMP::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/OPENMP/pair_hbond_dreiding_lj_angleoffset_omp.cpp b/src/OPENMP/pair_hbond_dreiding_lj_angleoffset_omp.cpp index 11c09ed549..9003268b77 100644 --- a/src/OPENMP/pair_hbond_dreiding_lj_angleoffset_omp.cpp +++ b/src/OPENMP/pair_hbond_dreiding_lj_angleoffset_omp.cpp @@ -51,7 +51,7 @@ void PairHbondDreidingLJAngleoffsetOMP::coeff(int narg, char **arg) { auto mylmp = PairHbondDreidingLJ::lmp; if (narg < 6 || narg > 11) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -62,7 +62,7 @@ void PairHbondDreidingLJAngleoffsetOMP::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double epsilon_one = utils::numeric(FLERR, arg[4], false, mylmp); double sigma_one = utils::numeric(FLERR, arg[5], false, mylmp); @@ -123,5 +123,5 @@ void PairHbondDreidingLJAngleoffsetOMP::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/OPENMP/pair_hbond_dreiding_morse_angleoffset_omp.cpp b/src/OPENMP/pair_hbond_dreiding_morse_angleoffset_omp.cpp index e7c75f29e4..8011d25479 100644 --- a/src/OPENMP/pair_hbond_dreiding_morse_angleoffset_omp.cpp +++ b/src/OPENMP/pair_hbond_dreiding_morse_angleoffset_omp.cpp @@ -51,7 +51,7 @@ void PairHbondDreidingMorseAngleoffsetOMP::coeff(int narg, char **arg) { auto mylmp = PairHbondDreidingMorse::lmp; if (narg < 7 || narg > 12) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi,klo,khi; @@ -62,7 +62,7 @@ void PairHbondDreidingMorseAngleoffsetOMP::coeff(int narg, char **arg) int donor_flag; if (strcmp(arg[3],"i") == 0) donor_flag = 0; else if (strcmp(arg[3],"j") == 0) donor_flag = 1; - else error->all(FLERR,"Incorrect args for pair coefficients"); + else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double d0_one = utils::numeric(FLERR, arg[4], false, mylmp); double alpha_one = utils::numeric(FLERR, arg[5], false, mylmp); @@ -123,5 +123,5 @@ void PairHbondDreidingMorseAngleoffsetOMP::coeff(int narg, char **arg) } nparams++; - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/PERI/pair_peri_eps.cpp b/src/PERI/pair_peri_eps.cpp index 77d8c078c4..fccfee60c7 100644 --- a/src/PERI/pair_peri_eps.cpp +++ b/src/PERI/pair_peri_eps.cpp @@ -360,7 +360,7 @@ void PairPeriEPS::compute(int eflag, int vflag) void PairPeriEPS::coeff(int narg, char **arg) { - if (narg != 8) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 8) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -388,7 +388,7 @@ void PairPeriEPS::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/PERI/pair_peri_lps.cpp b/src/PERI/pair_peri_lps.cpp index 2e11b8c76f..34420b6ef2 100644 --- a/src/PERI/pair_peri_lps.cpp +++ b/src/PERI/pair_peri_lps.cpp @@ -306,7 +306,7 @@ void PairPeriLPS::compute(int eflag, int vflag) void PairPeriLPS::coeff(int narg, char **arg) { - if (narg != 7) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 7) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -332,7 +332,7 @@ void PairPeriLPS::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/PERI/pair_peri_pmb.cpp b/src/PERI/pair_peri_pmb.cpp index 1bed10a877..85c16f6ff8 100644 --- a/src/PERI/pair_peri_pmb.cpp +++ b/src/PERI/pair_peri_pmb.cpp @@ -245,7 +245,7 @@ void PairPeriPMB::compute(int eflag, int vflag) void PairPeriPMB::coeff(int narg, char **arg) { - if (narg != 6) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 6) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -269,7 +269,7 @@ void PairPeriPMB::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/PERI/pair_peri_ves.cpp b/src/PERI/pair_peri_ves.cpp index 7e43678919..24f6deb2d8 100644 --- a/src/PERI/pair_peri_ves.cpp +++ b/src/PERI/pair_peri_ves.cpp @@ -346,7 +346,7 @@ void PairPeriVES::compute(int eflag, int vflag) void PairPeriVES::coeff(int narg, char **arg) { - if (narg != 9) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg != 9) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -376,7 +376,7 @@ void PairPeriVES::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/PYTHON/pair_python.cpp b/src/PYTHON/pair_python.cpp index 695954604c..e954245e71 100644 --- a/src/PYTHON/pair_python.cpp +++ b/src/PYTHON/pair_python.cpp @@ -244,14 +244,14 @@ void PairPython::coeff(int narg, char **arg) const int ntypes = atom->ntypes; if (narg != 3+ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); // make sure I,J args are * * if (strcmp(arg[0],"*") != 0 || strcmp(arg[1],"*") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // check if python potential class type exists diff --git a/src/REAXFF/pair_reaxff.cpp b/src/REAXFF/pair_reaxff.cpp index ca60e5248f..b36d9e79aa 100644 --- a/src/REAXFF/pair_reaxff.cpp +++ b/src/REAXFF/pair_reaxff.cpp @@ -278,7 +278,7 @@ void PairReaxFF::coeff(int nargs, char **args) if (!allocated) allocate(); if (nargs != 3 + atom->ntypes) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // read ffield file @@ -328,7 +328,7 @@ void PairReaxFF::coeff(int nargs, char **args) count++; } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/RHEO/pair_rheo_solid.cpp b/src/RHEO/pair_rheo_solid.cpp index 6f6f7949ae..84446f5554 100644 --- a/src/RHEO/pair_rheo_solid.cpp +++ b/src/RHEO/pair_rheo_solid.cpp @@ -185,7 +185,7 @@ void PairRHEOSolid::settings(int narg, char ** /*arg*/) void PairRHEOSolid::coeff(int narg, char **arg) { - if (narg != 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -196,7 +196,7 @@ void PairRHEOSolid::coeff(int narg, char **arg) double cut_one = utils::numeric(FLERR, arg[3], false, lmp); double gamma_one = utils::numeric(FLERR, arg[4], false, lmp); - if (cut_one <= 0.0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (cut_one <= 0.0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); int count = 0; for (int i = ilo; i <= ihi; i++) { @@ -210,7 +210,7 @@ void PairRHEOSolid::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SMTBQ/pair_smatb.cpp b/src/SMTBQ/pair_smatb.cpp index ab6aee557e..0b97a62c32 100644 --- a/src/SMTBQ/pair_smatb.cpp +++ b/src/SMTBQ/pair_smatb.cpp @@ -329,7 +329,7 @@ void PairSMATB::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ------------------------------------------------------------------------ */ diff --git a/src/SMTBQ/pair_smatb_single.cpp b/src/SMTBQ/pair_smatb_single.cpp index 4506a1093c..fb72971c90 100644 --- a/src/SMTBQ/pair_smatb_single.cpp +++ b/src/SMTBQ/pair_smatb_single.cpp @@ -278,7 +278,7 @@ void PairSMATBSingle::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ------------------------------------------------------------------------ */ diff --git a/src/SPH/pair_sph_heatconduction.cpp b/src/SPH/pair_sph_heatconduction.cpp index 145d9cadee..0bff61d190 100644 --- a/src/SPH/pair_sph_heatconduction.cpp +++ b/src/SPH/pair_sph_heatconduction.cpp @@ -172,7 +172,7 @@ void PairSPHHeatConduction::settings(int narg, char **/*arg*/) void PairSPHHeatConduction::coeff(int narg, char **arg) { if (narg != 4) - error->all(FLERR,"Incorrect number of args for pair_style sph/heatconduction coefficients"); + error->all(FLERR,"Incorrect number of args for pair_style sph/heatconduction coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -194,7 +194,7 @@ void PairSPHHeatConduction::coeff(int narg, char **arg) } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPH/pair_sph_lj.cpp b/src/SPH/pair_sph_lj.cpp index 63b84c630d..6f05c45638 100644 --- a/src/SPH/pair_sph_lj.cpp +++ b/src/SPH/pair_sph_lj.cpp @@ -224,7 +224,7 @@ void PairSPHLJ::coeff(int narg, char **arg) { if (narg != 4) error->all(FLERR, - "Incorrect args for pair_style sph/lj coefficients"); + "Incorrect args for pair_style sph/lj coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -246,7 +246,7 @@ void PairSPHLJ::coeff(int narg, char **arg) } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPH/pair_sph_rhosum.cpp b/src/SPH/pair_sph_rhosum.cpp index 4fd96319ee..97062b16c1 100644 --- a/src/SPH/pair_sph_rhosum.cpp +++ b/src/SPH/pair_sph_rhosum.cpp @@ -218,7 +218,7 @@ void PairSPHRhoSum::settings(int narg, char **arg) void PairSPHRhoSum::coeff(int narg, char **arg) { if (narg != 3) - error->all(FLERR,"Incorrect number of args for sph/rhosum coefficients"); + error->all(FLERR,"Incorrect number of args for sph/rhosum coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -238,7 +238,7 @@ void PairSPHRhoSum::coeff(int narg, char **arg) } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPH/pair_sph_taitwater.cpp b/src/SPH/pair_sph_taitwater.cpp index 41eef91d6e..442ac833cb 100644 --- a/src/SPH/pair_sph_taitwater.cpp +++ b/src/SPH/pair_sph_taitwater.cpp @@ -226,7 +226,7 @@ void PairSPHTaitwater::coeff(int narg, char **arg) { if (narg != 6) error->all(FLERR, - "Incorrect args for pair_style sph/taitwater coefficients"); + "Incorrect args for pair_style sph/taitwater coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -254,7 +254,7 @@ void PairSPHTaitwater::coeff(int narg, char **arg) } if (count == 0) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPH/pair_sph_taitwater_morris.cpp b/src/SPH/pair_sph_taitwater_morris.cpp index 2209cc4ecf..48493a1e09 100644 --- a/src/SPH/pair_sph_taitwater_morris.cpp +++ b/src/SPH/pair_sph_taitwater_morris.cpp @@ -226,7 +226,7 @@ void PairSPHTaitwaterMorris::coeff(int narg, char **arg) { if (narg != 6) error->all(FLERR, - "Incorrect args for pair_style sph/taitwater/morris coefficients"); + "Incorrect args for pair_style sph/taitwater/morris coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -255,7 +255,7 @@ void PairSPHTaitwaterMorris::coeff(int narg, char **arg) } if (count == 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPIN/pair_spin_dipole_cut.cpp b/src/SPIN/pair_spin_dipole_cut.cpp index 8470bbcfcc..8e5c125895 100644 --- a/src/SPIN/pair_spin_dipole_cut.cpp +++ b/src/SPIN/pair_spin_dipole_cut.cpp @@ -118,7 +118,7 @@ void PairSpinDipoleCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPIN/pair_spin_dipole_long.cpp b/src/SPIN/pair_spin_dipole_long.cpp index f3ef997d01..8f03c37b7c 100644 --- a/src/SPIN/pair_spin_dipole_long.cpp +++ b/src/SPIN/pair_spin_dipole_long.cpp @@ -115,7 +115,7 @@ void PairSpinDipoleLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/SPIN/pair_spin_exchange.cpp b/src/SPIN/pair_spin_exchange.cpp index b113b17d10..b0c9edef27 100644 --- a/src/SPIN/pair_spin_exchange.cpp +++ b/src/SPIN/pair_spin_exchange.cpp @@ -95,9 +95,9 @@ void PairSpinExchange::coeff(int narg, char **arg) // check if args correct if (strcmp(arg[2],"exchange") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if ((narg != 7) && (narg != 9)) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); int ilo,ihi,jlo,jhi; utils::bounds(FLERR,arg[0],1,atom->ntypes,ilo,ihi,error); @@ -117,7 +117,7 @@ void PairSpinExchange::coeff(int narg, char **arg) if (strcmp(arg[iarg],"offset") == 0) { e_offset = utils::logical(FLERR, arg[iarg+1], false, lmp); iarg += 2; - } else error->all(FLERR,"Incorrect args for pair coefficients"); + } else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } int count = 0; diff --git a/src/SPIN/pair_spin_exchange_biquadratic.cpp b/src/SPIN/pair_spin_exchange_biquadratic.cpp index 51df3294d7..7c50659b45 100644 --- a/src/SPIN/pair_spin_exchange_biquadratic.cpp +++ b/src/SPIN/pair_spin_exchange_biquadratic.cpp @@ -99,9 +99,9 @@ void PairSpinExchangeBiquadratic::coeff(int narg, char **arg) // check if args correct if (strcmp(arg[2],"biquadratic") != 0) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if ((narg != 10) && (narg != 12)) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); int ilo,ihi,jlo,jhi; utils::bounds(FLERR,arg[0],1,atom->ntypes,ilo,ihi,error); @@ -124,7 +124,7 @@ void PairSpinExchangeBiquadratic::coeff(int narg, char **arg) if (strcmp(arg[iarg],"offset") == 0) { e_offset = utils::logical(FLERR,arg[iarg+1],false,lmp); iarg += 2; - } else error->all(FLERR,"Incorrect args for pair coefficients"); + } else error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } int count = 0; diff --git a/src/YAFF/pair_lj_switch3_coulgauss_long.cpp b/src/YAFF/pair_lj_switch3_coulgauss_long.cpp index 5fe9b886bf..e87c760e30 100644 --- a/src/YAFF/pair_lj_switch3_coulgauss_long.cpp +++ b/src/YAFF/pair_lj_switch3_coulgauss_long.cpp @@ -285,7 +285,7 @@ void PairLJSwitch3CoulGaussLong::settings(int narg, char **arg) void PairLJSwitch3CoulGaussLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -311,7 +311,7 @@ void PairLJSwitch3CoulGaussLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/YAFF/pair_mm3_switch3_coulgauss_long.cpp b/src/YAFF/pair_mm3_switch3_coulgauss_long.cpp index c4f31f2059..98589ae85d 100644 --- a/src/YAFF/pair_mm3_switch3_coulgauss_long.cpp +++ b/src/YAFF/pair_mm3_switch3_coulgauss_long.cpp @@ -288,7 +288,7 @@ void PairMM3Switch3CoulGaussLong::settings(int narg, char **arg) void PairMM3Switch3CoulGaussLong::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -314,7 +314,7 @@ void PairMM3Switch3CoulGaussLong::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair.cpp b/src/pair.cpp index 8f10d81d99..652f231908 100644 --- a/src/pair.cpp +++ b/src/pair.cpp @@ -865,7 +865,7 @@ void Pair::map_element2type(int narg, char **arg, bool update_setflag) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } } diff --git a/src/pair_born.cpp b/src/pair_born.cpp index c2a47be47f..fe041b2ada 100644 --- a/src/pair_born.cpp +++ b/src/pair_born.cpp @@ -197,7 +197,7 @@ void PairBorn::settings(int narg, char **arg) void PairBorn::coeff(int narg, char **arg) { - if (narg < 7 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 7 || narg > 8) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -207,7 +207,7 @@ void PairBorn::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); double sigma_one = utils::numeric(FLERR,arg[4],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[5],false,lmp); double d_one = utils::numeric(FLERR,arg[6],false,lmp); @@ -228,7 +228,7 @@ void PairBorn::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_buck.cpp b/src/pair_buck.cpp index ff6fb5fbde..660a4b32ec 100644 --- a/src/pair_buck.cpp +++ b/src/pair_buck.cpp @@ -189,7 +189,7 @@ void PairBuck::settings(int narg, char **arg) void PairBuck::coeff(int narg, char **arg) { if (narg < 5 || narg > 6) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -198,7 +198,7 @@ void PairBuck::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR,arg[2],false,lmp); double rho_one = utils::numeric(FLERR,arg[3],false,lmp); - if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR,arg[4],false,lmp); double cut_one = cut_global; @@ -216,7 +216,7 @@ void PairBuck::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_buck_coul_cut.cpp b/src/pair_buck_coul_cut.cpp index 933493eab6..cf342b4302 100644 --- a/src/pair_buck_coul_cut.cpp +++ b/src/pair_buck_coul_cut.cpp @@ -224,7 +224,7 @@ void PairBuckCoulCut::settings(int narg, char **arg) void PairBuckCoulCut::coeff(int narg, char **arg) { - if (narg < 5 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 5 || narg > 7) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -233,7 +233,7 @@ void PairBuckCoulCut::coeff(int narg, char **arg) double a_one = utils::numeric(FLERR, arg[2], false, lmp); double rho_one = utils::numeric(FLERR, arg[3], false, lmp); - if (rho_one <= 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (rho_one <= 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); double c_one = utils::numeric(FLERR, arg[4], false, lmp); double cut_lj_one = cut_lj_global; @@ -254,7 +254,7 @@ void PairBuckCoulCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_coul_cut.cpp b/src/pair_coul_cut.cpp index 806d7a1066..91bb6014e7 100644 --- a/src/pair_coul_cut.cpp +++ b/src/pair_coul_cut.cpp @@ -171,7 +171,7 @@ void PairCoulCut::settings(int narg, char **arg) void PairCoulCut::coeff(int narg, char **arg) { - if (narg < 2 || narg > 3) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 2 || narg > 3) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -191,7 +191,7 @@ void PairCoulCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_coul_dsf.cpp b/src/pair_coul_dsf.cpp index 44dc9a7524..0d51d8e7ab 100644 --- a/src/pair_coul_dsf.cpp +++ b/src/pair_coul_dsf.cpp @@ -171,7 +171,7 @@ void PairCoulDSF::settings(int narg, char **arg) void PairCoulDSF::coeff(int narg, char **arg) { - if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -186,7 +186,7 @@ void PairCoulDSF::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_coul_wolf.cpp b/src/pair_coul_wolf.cpp index 2bd3094a7c..fd4c0a1a61 100644 --- a/src/pair_coul_wolf.cpp +++ b/src/pair_coul_wolf.cpp @@ -179,7 +179,7 @@ void PairCoulWolf::settings(int narg, char **arg) void PairCoulWolf::coeff(int narg, char **arg) { - if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 2) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -194,7 +194,7 @@ void PairCoulWolf::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_hybrid.cpp b/src/pair_hybrid.cpp index 09f233a4f6..4fb757cbab 100644 --- a/src/pair_hybrid.cpp +++ b/src/pair_hybrid.cpp @@ -578,7 +578,7 @@ void PairHybrid::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_hybrid_overlay.cpp b/src/pair_hybrid_overlay.cpp index 4211d0e5cb..55b6477496 100644 --- a/src/pair_hybrid_overlay.cpp +++ b/src/pair_hybrid_overlay.cpp @@ -31,7 +31,7 @@ PairHybridOverlay::PairHybridOverlay(LAMMPS *lmp) : PairHybrid(lmp) {} void PairHybridOverlay::coeff(int narg, char **arg) { - if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 3) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -50,7 +50,7 @@ void PairHybridOverlay::coeff(int narg, char **arg) if (strcmp(arg[2],keywords[m]) == 0) { if (multiple[m]) { multflag = 1; - if (narg < 4) error->all(FLERR,"Incorrect args for pair coefficients"); + if (narg < 4) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (multiple[m] == utils::inumeric(FLERR,arg[3],false,lmp)) break; else continue; } else break; @@ -76,7 +76,7 @@ void PairHybridOverlay::coeff(int narg, char **arg) if (!none && styles[m]->one_coeff) if ((strcmp(arg[0],"*") != 0) || (strcmp(arg[1],"*") != 0)) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); // invoke sub-style coeff() starting with 1st remaining arg @@ -106,7 +106,7 @@ void PairHybridOverlay::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } diff --git a/src/pair_hybrid_scaled.cpp b/src/pair_hybrid_scaled.cpp index 3ce6327370..22d4556769 100644 --- a/src/pair_hybrid_scaled.cpp +++ b/src/pair_hybrid_scaled.cpp @@ -584,7 +584,7 @@ void PairHybridScaled::born_matrix(int i, int j, int itype, int jtype, double rs void PairHybridScaled::coeff(int narg, char **arg) { - if (narg < 3) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 3) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -603,7 +603,7 @@ void PairHybridScaled::coeff(int narg, char **arg) if (strcmp(arg[2], keywords[m]) == 0) { if (multiple[m]) { multflag = 1; - if (narg < 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); int index = utils::inumeric(FLERR, arg[3], false, lmp); if (index == multiple[m]) break; @@ -633,7 +633,7 @@ void PairHybridScaled::coeff(int narg, char **arg) if (!none && styles[m]->one_coeff) if ((strcmp(arg[0], "*") != 0) || (strcmp(arg[1], "*") != 0)) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); // invoke sub-style coeff() starting with 1st remaining arg @@ -663,7 +663,7 @@ void PairHybridScaled::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_lj_cut.cpp b/src/pair_lj_cut.cpp index fae308c57f..ef339ba340 100644 --- a/src/pair_lj_cut.cpp +++ b/src/pair_lj_cut.cpp @@ -441,7 +441,7 @@ void PairLJCut::settings(int narg, char **arg) void PairLJCut::coeff(int narg, char **arg) { - if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 5) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -465,7 +465,7 @@ void PairLJCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_lj_cut_coul_cut.cpp b/src/pair_lj_cut_coul_cut.cpp index 8e4e98a1ba..e188fc2020 100644 --- a/src/pair_lj_cut_coul_cut.cpp +++ b/src/pair_lj_cut_coul_cut.cpp @@ -217,7 +217,7 @@ void PairLJCutCoulCut::settings(int narg, char **arg) void PairLJCutCoulCut::coeff(int narg, char **arg) { - if (narg < 4 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 4 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -244,7 +244,7 @@ void PairLJCutCoulCut::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_lj_expand.cpp b/src/pair_lj_expand.cpp index 05b763429b..9c22f4ab75 100644 --- a/src/pair_lj_expand.cpp +++ b/src/pair_lj_expand.cpp @@ -186,7 +186,7 @@ void PairLJExpand::settings(int narg, char **arg) void PairLJExpand::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -212,7 +212,7 @@ void PairLJExpand::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_morse.cpp b/src/pair_morse.cpp index efacd80ca3..83ca375818 100644 --- a/src/pair_morse.cpp +++ b/src/pair_morse.cpp @@ -174,7 +174,7 @@ void PairMorse::settings(int narg, char **arg) void PairMorse::coeff(int narg, char **arg) { - if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 5 || narg > 6) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -200,7 +200,7 @@ void PairMorse::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_soft.cpp b/src/pair_soft.cpp index cba6c742ab..726875052a 100644 --- a/src/pair_soft.cpp +++ b/src/pair_soft.cpp @@ -171,7 +171,7 @@ void PairSoft::settings(int narg, char **arg) void PairSoft::coeff(int narg, char **arg) { if (narg < 3 || narg > 4) - error->all(FLERR,"Incorrect args for pair coefficients"); + error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo,ihi,jlo,jhi; @@ -193,7 +193,7 @@ void PairSoft::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_yukawa.cpp b/src/pair_yukawa.cpp index 55a686e5f0..e4147ba90f 100644 --- a/src/pair_yukawa.cpp +++ b/src/pair_yukawa.cpp @@ -172,7 +172,7 @@ void PairYukawa::settings(int narg, char **arg) void PairYukawa::coeff(int narg, char **arg) { - if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg < 3 || narg > 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi, jlo, jhi; @@ -194,7 +194,7 @@ void PairYukawa::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_zbl.cpp b/src/pair_zbl.cpp index bbbeea18d7..c0748b0f63 100644 --- a/src/pair_zbl.cpp +++ b/src/pair_zbl.cpp @@ -199,7 +199,7 @@ void PairZBL::coeff(int narg, char **arg) { double z_one, z_two; - if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients"); + if (narg != 4) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); int ilo, ihi; @@ -218,7 +218,7 @@ void PairZBL::coeff(int narg, char **arg) for (int i = ilo; i <= ihi; i++) { for (int j = MAX(jlo, i); j <= jhi; j++) { if (i == j) { - if (z_one != z_two) error->all(FLERR, "Incorrect args for pair coefficients"); + if (z_one != z_two) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); z[i] = z_one; } setflag[i][j] = 1; @@ -227,7 +227,7 @@ void PairZBL::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ---------------------------------------------------------------------- diff --git a/src/pair_zero.cpp b/src/pair_zero.cpp index c62479d1c4..92733f12e7 100644 --- a/src/pair_zero.cpp +++ b/src/pair_zero.cpp @@ -123,7 +123,7 @@ void PairZero::settings(int narg, char **arg) void PairZero::coeff(int narg, char **arg) { if ((narg < 2) || (coeffflag && narg > 3)) - error->all(FLERR, "Incorrect args for pair coefficients"); + error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); if (!allocated) allocate(); @@ -143,7 +143,7 @@ void PairZero::coeff(int narg, char **arg) } } - if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients"); + if (count == 0) error->all(FLERR, "Incorrect args for pair coefficients" + utils::errorurl(21)); } /* ----------------------------------------------------------------------