move Force::open_potential() to utils::open_potential()
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user