newton_bond is int not double
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user