use vector<string> for type label arrays

This commit is contained in:
Jacob Gissinger
2020-12-17 14:21:42 -05:00
parent bc32dfb480
commit fef2d178e4
4 changed files with 28 additions and 63 deletions

View File

@ -22,8 +22,8 @@ class LabelMap : protected Pointers {
public:
int natomtypes,nbondtypes,nangletypes;
int ndihedraltypes,nimpropertypes;
char **typelabel,**btypelabel,**atypelabel;
char **dtypelabel,**itypelabel;
std::vector<std::string> typelabel,btypelabel,atypelabel;
std::vector<std::string> dtypelabel,itypelabel;
LabelMap(LAMMPS *lmp);
~LabelMap();