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

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