finish rolling back multiple maps feature

This commit is contained in:
Jacob Gissinger
2022-08-09 11:32:29 -04:00
parent 363b80f85c
commit eb4ce25f03
4 changed files with 2 additions and 18 deletions

View File

@ -2060,14 +2060,13 @@ void Atom::add_molecule_atom(Molecule *onemol, int iatom, int ilocal, tagint off
allocate space for type label map
------------------------------------------------------------------------- */
void Atom::add_label_map(const std::string &mapID)
void Atom::add_label_map()
{
labelmapflag = 1;
lmap = (LabelMap *)
memory->srealloc(lmap,sizeof(LabelMap *),
"atom::lmap");
lmap = new LabelMap(lmp);
if (mapID != "") lmap->id = mapID;
lmap->natomtypes = ntypes;
lmap->nbondtypes = nbondtypes;
lmap->nangletypes = nangletypes;