forked from lijiext/lammps
honor LAMMPS_POTENTIALS environment variable when loading potential file
This commit is contained in:
parent
2d4b05ffa6
commit
b57025523f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue