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