Add type information for table potentials

This commit is contained in:
Richard Berger
2020-06-02 16:08:49 -04:00
parent d6e062d0b9
commit a80c80c77e
4 changed files with 6 additions and 5 deletions

View File

@ -27,8 +27,9 @@
using namespace LAMMPS_NS;
TableFileReader::TableFileReader(LAMMPS *lmp,
const std::string &filename) :
PotentialFileReader(lmp, filename, "table")
const std::string &filename,
const std::string &type) :
PotentialFileReader(lmp, filename, type + " table")
{
}