move Force::open_potential() to utils::open_potential()

This commit is contained in:
Axel Kohlmeyer
2020-08-29 22:37:14 -04:00
parent 798226967f
commit 4396dbd9a3
38 changed files with 43 additions and 98 deletions

View File

@ -883,7 +883,7 @@ void PairEDIP::read_file(char *file)
FILE *fp;
if (comm->me == 0) {
fp = force->open_potential(file);
fp = utils::open_potential(file,lmp,nullptr);
if (fp == NULL) {
char str[128];
snprintf(str,128,"Cannot open EDIP potential file %s",file);