enable write_data for atom styles with bonus data

This commit is contained in:
Steve Plimpton
2020-07-06 17:30:45 -06:00
parent 6bf329098e
commit 7918919d30
15 changed files with 447 additions and 128 deletions

View File

@ -2304,6 +2304,16 @@ void AtomVec::write_improper(FILE *fp, int n, tagint **buf, int index)
}
}
/* ----------------------------------------------------------------------
return size_data_bonus
only AtomVecHybrid overrides this, so it can select which bonus data via flag
------------------------------------------------------------------------- */
int AtomVec::size_data_bonus_query(int /*flag*/)
{
return size_data_bonus;
}
/* ----------------------------------------------------------------------
return # of bytes of allocated memory
------------------------------------------------------------------------- */