There is a function in LAMMPS called "map_element2type". It can build a mapping from atom type defined in data file to element type in potential file. So we just need to copy this mapping to make the setting more flexible. To be more standardized, the model filename would be read in pair_coeff setting.
One more thing, I set the flag "one_coeff“ to 1, which means the pair_coeff only allows call. But it doesn't affect the use.
There is a function in LAMMPS called "map_element2type". It can build a mapping from atom type defined in data file to element type in potential file. So we just need to copy this mapping to make the setting more flexible. To be more standardized, the model filename would be read in pair_coeff setting. One more thing, I set the flag "one_coeff“ to 1, which means the pair_coeff only allows call. But it doesn't affect the use.