add lammps_add_molecule API to the C-library interface and python/fortran module

This commit is contained in:
Axel Kohlmeyer
2025-06-14 12:46:36 -04:00
parent faa1dbc19d
commit 2d5f02a398
9 changed files with 122 additions and 5 deletions

View File

@ -141,6 +141,7 @@ liblammpsplugin_t *liblammpsplugin_load(const char *lib)
ADDSYM(scatter_subset);
ADDSYM(create_atoms);
ADDSYM(create_molecule);
ADDSYM(find_pair_neighlist);
ADDSYM(find_fix_neighlist);

View File

@ -207,6 +207,7 @@ struct _liblammpsplugin {
int (*create_atoms)(void *, int, const int64_t *, const int *, const double *, const double *,
const int64_t *, int);
#endif
int (*create_molecule)(void *, const char *, const char *);
int (*find_pair_neighlist)(void *, const char *, int, int, int);
int (*find_fix_neighlist)(void *, const char *, int);