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

@ -442,11 +442,11 @@ void AtomVecHybrid::data_atom_post(int ilocal)
modify what AtomVec::data_bonds() just unpacked
or initialize other bond quantities
------------------------------------------------------------------------- */
void AtomVecHybrid::data_bonds_post2(int m, int num_bond, tagint atom1, tagint atom2, tagint id_offset)
void AtomVecHybrid::data_bonds_post(int m, int num_bond, tagint atom1,
tagint atom2, tagint id_offset)
{
printf("CALLED FROM ATOM_VEC_HYBRID\n");
for (int k = 0; k < nstyles; k++)
styles[k]->data_bonds_post(m, num_bond, atom1, atom2, id_offset);
}
/* ----------------------------------------------------------------------