print message about reading the potential file name and date

This commit is contained in:
Axel Kohlmeyer
2021-05-03 23:34:05 -04:00
parent 90a57f5328
commit 329cb9c400

View File

@ -1885,6 +1885,8 @@ void PairBOP::read_table(char *filename)
auto fullpath = utils::get_potential_file_path(filename);
if (fullpath.empty()) fullpath = std::string(filename);
reader = new TextFileReader(fullpath, "BOP");
utils::logmesg(lmp,"Reading potential file {} with DATE: {}\n",
filename, utils::get_potential_date(fullpath, "BOP"));
bop_types = reader->next_values(1).next_int();
if (bop_types <= 0)