check for compatible LAMMPS version when creating LAMMPS instance

This check must be done at runtime, since the LAMMPS shared library
may have been loaded dynamically and thus required library functions
may not be present or missing features with too only a LAMMPS version.
This commit is contained in:
Axel Kohlmeyer
2023-09-25 08:07:36 -04:00
parent 082d2bec9f
commit 2c636c83f5
3 changed files with 23 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public:
void force_timeout();
int version();
int extract_setting(const char *keyword);
void *extract_global(const char *keyword);
void *extract_atom(const char *keyword);