unit test for gather and scatter; char* to const char* in library.*
This commit is contained in:
@ -181,23 +181,23 @@ int lammps_set_variable(void *, char *, char *);
|
||||
* Library functions for scatter/gather operations of data
|
||||
* ---------------------------------------------------------------------- */
|
||||
|
||||
void lammps_gather_atoms(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_gather_atoms_concat(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_gather_atoms_subset(void *handle, char *name, int type, int count, int ndata, int *ids,
|
||||
void *data);
|
||||
void lammps_scatter_atoms(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_scatter_atoms_subset(void *handle, char *name, int type, int count, int ndata, int *ids,
|
||||
void *data);
|
||||
void lammps_gather_atoms(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_gather_atoms_concat(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_gather_atoms_subset(void *handle, const char *name, int type, int count, int ndata,
|
||||
int *ids, void *data);
|
||||
void lammps_scatter_atoms(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_scatter_atoms_subset(void *handle, const char *name, int type, int count, int ndata,
|
||||
int *ids, void *data);
|
||||
|
||||
void lammps_gather_bonds(void *handle, void *data);
|
||||
|
||||
void lammps_gather(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_gather_concat(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_gather_subset(void *handle, char *name, int type, int count, int ndata, int *ids,
|
||||
void *data);
|
||||
void lammps_scatter(void *handle, char *name, int type, int count, void *data);
|
||||
void lammps_scatter_subset(void *handle, char *name, int type, int count, int ndata, int *ids,
|
||||
void *data);
|
||||
void lammps_gather(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_gather_concat(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_gather_subset(void *handle, const char *name, int type, int count, int ndata,
|
||||
int *ids, void *data);
|
||||
void lammps_scatter(void *handle, const char *name, int type, int count, void *data);
|
||||
void lammps_scatter_subset(void *handle, const char *name, int type, int count, int ndata,
|
||||
int *ids, void *data);
|
||||
|
||||
#if !defined(LAMMPS_BIGBIG)
|
||||
int lammps_create_atoms(void *handle, int n, const int *id, const int *type, const double *x,
|
||||
|
||||
Reference in New Issue
Block a user