37
37
* - -3 if there is an out of memory error
38
38
* - -4 if the GPU library was not compiled for GPU
39
39
* - -5 Double precision is not supported on card **/
40
int init(const int nlocal, const int nall, const int max_nbors,
40
int init(const int ntypes, double **scale,
41
const int nlocal, const int nall, const int max_nbors,
41
42
const int maxspecial, const double cell_size,
42
const double gpu_split, FILE *screen,
43
const double host_cut_coulsq, double *host_special_coul,
44
const double qqrd2e, const double g_ewald);
43
const double gpu_split, FILE *screen,
44
const double host_cut_coulsq, double *host_special_coul,
45
const double qqrd2e, const double g_ewald);
47
/// Send updated coeffs from host to device (to be compatible with fix adapt)
48
void reinit(const int ntypes, double **scale);
46
50
/// Clear all host and device data
47
51
/** \note This is called at the beginning of the init() routine **/