Added data_bonds_post2() method for testing purposes

This commit is contained in:
Oliver Henrich
2021-07-05 17:29:11 +01:00
parent 4b81802ae8
commit 65e2d8fd5e
6 changed files with 29 additions and 0 deletions

View File

@ -1288,6 +1288,7 @@ void Atom::data_bonds(int n, char *buf, int *count, tagint id_offset,
bond_type[m][num_bond[m]] = itype;
bond_atom[m][num_bond[m]] = atom2;
num_bond[m]++;
avec->data_bonds_post2(m, num_bond[m], atom1, atom2, id_offset);
}
}
if (newton_bond == 0) {