add unit conversion checking support to Force::open_potential()

This commit is contained in:
Axel Kohlmeyer
2020-06-25 11:29:57 -04:00
parent 3c9b40a31a
commit 4824c4608c
4 changed files with 168 additions and 11 deletions

View File

@ -135,7 +135,7 @@ class Force : protected Pointers {
bigint bnumeric(const char *, int, char *);
tagint tnumeric(const char *, int, char *);
FILE *open_potential(const char *);
FILE *open_potential(const char *, int *auto_convert = nullptr);
bigint memory_usage();