move Force::open_potential() to utils::open_potential()

This commit is contained in:
Axel Kohlmeyer
2020-08-29 22:37:14 -04:00
parent 798226967f
commit 4396dbd9a3
38 changed files with 43 additions and 98 deletions

View File

@ -382,8 +382,7 @@ value is compared to the current :doc:`unit style <units>` setting.
* \param auto_convert pointer to automatic unit conversion bitmask
* \return FILE pointer of the opened potential file or NULL
*/
FILE *open_potential(const char *name, LAMMPS *lmp,
int *auto_convert=nullptr);
FILE *open_potential(const std::string &name, LAMMPS *lmp, int *auto_convert);
/** Convert a time string to seconds
*