nolabel for write_data
also bug fixes
This commit is contained in:
@ -106,7 +106,7 @@ void LabelMap::modify_lmap(int narg, char **arg)
|
||||
itype = utils::inumeric(FLERR,arg[iarg++],false,lmp);
|
||||
charlabel = arg[iarg++];
|
||||
if (itype > ntypes) error->all(FLERR,"Topology type exceeds system topology type");
|
||||
if (isdigit(charlabel[0])) error->all(FLERR,"Type labels must begin with a letter");
|
||||
if (isdigit(charlabel[0])) error->all(FLERR,"Type labels cannot start with a number");
|
||||
(*labels)[itype-1] = charlabel;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user