teach pair potentials to open potential files via open_potential()

This commit is contained in:
Axel Kohlmeyer
2013-06-27 20:49:14 +02:00
parent afc35427c0
commit cf7f34401c
20 changed files with 23 additions and 23 deletions

View File

@ -857,7 +857,7 @@ void PairTersoffTable::read_file(char *file)
FILE *fp;
if (comm->me == 0) {
fp = fopen(file,"r");
fp = open_potential(file);
if (fp == NULL) {
char str[128];
sprintf(str,"Cannot open Tersoff potential file %s",file);