563
563
/* ---------------------------------------------------------------------- */
565
int PairMEAMSWSpline::pack_comm(int n, int *list, double *buf, int pbc_flag, int *pbc)
565
int PairMEAMSWSpline::pack_forward_comm(int n, int *list, double *buf,
568
569
int* list_iter_end = list + n;
569
570
while(list_iter != list_iter_end)
570
571
*buf++ = Uprime_values[*list_iter++];
574
575
/* ---------------------------------------------------------------------- */
578
579
memcpy(&Uprime_values[first], buf, n * sizeof(buf[0]));