Loading...
Searching...
No Matches
seams_c_api.h
Go to the documentation of this file.
1#ifndef SEAMS_C_API_H_
2#define SEAMS_C_API_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/* C ABI for native callers and for an emscripten/WASM build.
9 * xyz is n*3, box is ox,oy,oz,lx,ly,lz (ortho). labels[i] is
10 * 0 cubic, 1 hexagonal, 2 water, 3 interfacial, 4 clathrate,
11 * 5 interClathrate, 6 unclassified, 7 reCubic, 8 reHex.
12 * Returns 0 on success. */
13int seams_chill_plus(const double *xyz, int n, const double *box, int *labels);
14
15#ifdef __cplusplus
16}
17#endif
18
19#endif
int seams_chill_plus(const double *xyz, int n, const double *box, int *labels)