honor LAMMPS_POTENTIALS environment variable when loading potential file

This commit is contained in:
Axel Kohlmeyer 2021-04-07 19:28:02 -04:00
parent 2d4b05ffa6
commit b57025523f
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ void PairPACE::coeff(int narg, char **arg) {
map_element2type(narg-3,arg+3);
char *potential_file_name = arg[2];
auto potential_file_name = utils::get_potential_file_path(arg[2]);
char **elemtypes = &arg[3];
//load potential file