newton_bond is int not double

This commit is contained in:
Axel Kohlmeyer
2025-06-28 02:34:39 -04:00
parent 46561f57bd
commit 8726deb9b6

View File

@ -223,7 +223,7 @@ void CreateBonds::many()
// build neighbor list this command needs based on earlier request
auto list = neighbor->find_list(this);
auto *list = neighbor->find_list(this);
neighbor->build_one(list);
// loop over all neighs of each atom
@ -237,7 +237,7 @@ void CreateBonds::many()
int *num_bond = atom->num_bond;
int **bond_type = atom->bond_type;
tagint **bond_atom = atom->bond_atom;
double newton_bond = force->newton_bond;
int newton_bond = force->newton_bond;
int nlocal = atom->nlocal;
int i, j, ii, jj, inum, jnum, flag;