Modified data_bonds_post() and calling structure

This commit is contained in:
Oliver Henrich
2021-07-15 13:36:40 +01:00
parent 39bd342913
commit 0f0059269d
23 changed files with 18 additions and 64 deletions

View File

@ -1288,7 +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);
avec->data_bonds_post(m, num_bond[m], atom1, atom2, id_offset);
}
}
if (newton_bond == 0) {
@ -1298,6 +1298,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]] = atom1;
num_bond[m]++;
avec->data_bonds_post(m, num_bond[m], atom1, atom2, id_offset);
}
}
}