type labels: restart support

This commit is contained in:
Jacob Gissinger
2021-01-19 21:52:22 -05:00
parent e138cf2476
commit 739dc46fab
14 changed files with 140 additions and 26 deletions

View File

@ -1991,6 +1991,7 @@ void Atom::add_molecule_atom(Molecule *onemol, int iatom,
void Atom::add_label_map()
{
labelmapflag = 1;
lmap = new LabelMap(lmp);
lmap->natomtypes = ntypes;
lmap->nbondtypes = nbondtypes;