add lammps_last_thermo support to swig, plugin and fortran interface

This commit is contained in:
Axel Kohlmeyer
2023-06-08 19:12:59 -04:00
parent 5d4f9abf5b
commit ce38bb988d
4 changed files with 83 additions and 1 deletions

View File

@ -90,6 +90,7 @@ liblammpsplugin_t *liblammpsplugin_load(const char *lib)
ADDSYM(get_natoms);
ADDSYM(get_thermo);
ADDSYM(last_thermo);
ADDSYM(extract_box);
ADDSYM(reset_box);

View File

@ -133,6 +133,7 @@ struct _liblammpsplugin {
double (*get_natoms)(void *);
double (*get_thermo)(void *, const char *);
void *(*last_thermo)(void *, const char *, int);
void (*extract_box)(void *, double *, double *,
double *, double *, double *, int *, int *);