count2=27;
a=nx*ny;
-
cell[0]=lc->subcell[i+j*nx+k*a];
for(ci=-1;ci<=1;ci++) {
bx=0;
int i,j,k,count;
t_atom *atom,*btom,*ktom;
t_linkcell *lc;
- t_list neighbour[27];
- t_list *this,*thisk,*neighbourk;
+ t_list neighbour[27],neighbourk[27];
+ t_list *this,*thisk;
u8 bc,bck;
int countn,dnlc;
!(btom->attr&ATOM_ATTR_3BP))
continue;
-printf("DEBUG: problem exists here ...\n");
link_cell_neighbour_index(moldyn,
(btom->r.x+moldyn->dim.x/2)/lc->x,
(btom->r.y+moldyn->dim.y/2)/lc->y,
(btom->r.z+moldyn->dim.z/2)/lc->z,
neighbourk);
-printf("DEBUG: as you won't see that!\n");
for(k=0;k<lc->countn;k++) {