Move common potentials opening code to utils

This commit is contained in:
Richard Berger
2020-06-04 17:18:28 -04:00
parent 7ab65c05da
commit 4a6d3bc0e0
6 changed files with 85 additions and 151 deletions

View File

@ -33,7 +33,6 @@ namespace LAMMPS_NS
std::string filetype;
TextFileReader * open_potential(const std::string& path);
std::string get_potential_date(const std::string & path);
public:
PotentialFileReader(class LAMMPS *lmp, const std::string &filename, const std::string &potential_name);