diff --git a/src/INTERLAYER/pair_aip_water_2dm.cpp b/src/INTERLAYER/pair_aip_water_2dm.cpp index 2c6b222d45..2241ebf145 100644 --- a/src/INTERLAYER/pair_aip_water_2dm.cpp +++ b/src/INTERLAYER/pair_aip_water_2dm.cpp @@ -61,5 +61,5 @@ void PairAIPWATER2DM::settings(int narg, char **arg) error->all(FLERR, "Pair style aip/water/2dm must be used as sub-style with hybrid/overlay"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); } diff --git a/src/INTERLAYER/pair_coul_shield.cpp b/src/INTERLAYER/pair_coul_shield.cpp index 203bef9d92..6baf55e0cd 100644 --- a/src/INTERLAYER/pair_coul_shield.cpp +++ b/src/INTERLAYER/pair_coul_shield.cpp @@ -183,7 +183,7 @@ void PairCoulShield::settings(int narg, char **arg) if (narg < 1 || narg > 2) error->all(FLERR, "Illegal pair_style command"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); // reset cutoffs that have been explicitly set diff --git a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp index fe7b4990b4..01f0b18a60 100644 --- a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp +++ b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp @@ -165,7 +165,7 @@ void PairILPGrapheneHBN::settings(int narg, char **arg) error->all(FLERR, "Pair style ilp/graphene/hbn must be used as sub-style with hybrid/overlay"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); } /* ---------------------------------------------------------------------- diff --git a/src/INTERLAYER/pair_ilp_tmd.cpp b/src/INTERLAYER/pair_ilp_tmd.cpp index 4d058e889c..9b48d28882 100644 --- a/src/INTERLAYER/pair_ilp_tmd.cpp +++ b/src/INTERLAYER/pair_ilp_tmd.cpp @@ -72,7 +72,7 @@ void PairILPTMD::settings(int narg, char **arg) error->all(FLERR, "Pair style ilp/tmd must be used as sub-style with hybrid/overlay"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); } /* ---------------------------------------------------------------------- diff --git a/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp b/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp index e72db7f62e..30c6f1d9ba 100644 --- a/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp +++ b/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp @@ -145,7 +145,7 @@ void PairKolmogorovCrespiFull::settings(int narg, char **arg) "Pair style kolmogorov/crespi/full must be used as sub-style with hybrid/overlay"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); } /* ---------------------------------------------------------------------- diff --git a/src/INTERLAYER/pair_saip_metal.cpp b/src/INTERLAYER/pair_saip_metal.cpp index 3053113894..f293ae2005 100644 --- a/src/INTERLAYER/pair_saip_metal.cpp +++ b/src/INTERLAYER/pair_saip_metal.cpp @@ -64,7 +64,7 @@ void PairSAIPMETAL::settings(int narg, char **arg) error->all(FLERR, "Pair style saip/metal must be used as sub-style with hybrid/overlay"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - if (narg == 2) tap_flag = utils::numeric(FLERR, arg[1], false, lmp); + if (narg == 2) tap_flag = utils::inumeric(FLERR, arg[1], false, lmp); } /* ----------------------------------------------------------------------