From d0528f7f02aad3f3e90c2a6df8b2a36020a35441 Mon Sep 17 00:00:00 2001 From: jtclemm Date: Mon, 22 Jul 2024 16:45:51 -0600 Subject: [PATCH] Removing more obsolete args from nlist build_one() --- src/ELECTRODE/fix_electrode_conp.cpp | 2 +- src/EXTRA-COMPUTE/compute_hma.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ELECTRODE/fix_electrode_conp.cpp b/src/ELECTRODE/fix_electrode_conp.cpp index 48d0dfdb7c..5e92af7a82 100644 --- a/src/ELECTRODE/fix_electrode_conp.cpp +++ b/src/ELECTRODE/fix_electrode_conp.cpp @@ -573,7 +573,7 @@ void FixElectrodeConp::setup_post_neighbor() if (read_mat) read_from_file(input_file_mat, elastance, "elastance"); else if (!read_inv) { - if (etypes_neighlists) neighbor->build_one(mat_neighlist, 0); + if (etypes_neighlists) neighbor->build_one(mat_neighlist); auto array_compute = std::unique_ptr(new ElectrodeMatrix(lmp, igroup, eta)); array_compute->setup(tag_to_iele, pair, mat_neighlist); if (etaflag) array_compute->setup_eta(eta_index); diff --git a/src/EXTRA-COMPUTE/compute_hma.cpp b/src/EXTRA-COMPUTE/compute_hma.cpp index 592c8501c1..8ddc413477 100644 --- a/src/EXTRA-COMPUTE/compute_hma.cpp +++ b/src/EXTRA-COMPUTE/compute_hma.cpp @@ -291,8 +291,7 @@ void ComputeHMA::compute_vector() double *special_coul = force->special_coul; int newton_pair = force->newton_pair; - if (update->firststep == update->ntimestep) neighbor->build_one(list,1); - else neighbor->build_one(list); + neighbor->build_one(list); int inum = list->inum; int *ilist = list->ilist; int *numneigh = list->numneigh;