Removing more obsolete args from nlist build_one()

This commit is contained in:
jtclemm
2024-07-22 16:45:51 -06:00
parent 572c511830
commit d0528f7f02
2 changed files with 2 additions and 3 deletions

View File

@ -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<ElectrodeMatrix>(new ElectrodeMatrix(lmp, igroup, eta));
array_compute->setup(tag_to_iele, pair, mat_neighlist);
if (etaflag) array_compute->setup_eta(eta_index);

View File

@ -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;