add a lammps_eval() function to the C library interface and all derived wrappers

This commit is contained in:
Axel Kohlmeyer
2025-01-12 00:39:18 -05:00
parent be596cca0c
commit dce1231052
9 changed files with 94 additions and 2 deletions

View File

@ -189,6 +189,7 @@ int lammps_set_variable(void *handle, const char *name, const char *str);
int lammps_set_string_variable(void *handle, const char *name, const char *str);
int lammps_set_internal_variable(void *handle, const char *name, double value);
int lammps_variable_info(void *handle, int idx, char *buf, int bufsize);
double lammps_eval(void *handle, const char *expr);
/* ----------------------------------------------------------------------
* Library functions for scatter/gather operations of data