extern "C" void Membrane_D3Q19_Unpack(int q, int *list, int *links, int start, int linkCount, double *recvbuf, double *dist, int N) { //.................................................................................... // Unack distribution from the recv buffer // Distribution q matche Cqx, Cqy, Cqz // swap rule means that the distributions in recvbuf are OPPOSITE of q // dist may be even or odd distributions stored by stream layout //.................................................................................... int n, idx, link; for (link=0; link