Thread Previous • Date Previous • Date Next • Thread Next |
> This is a pack.py > .. > .. > .. > > ii,jj,kk=[range(0,int(2*dim[0]/a)+1),range(0,int(dim[1]/h)+1),range(0,int(dim[2]/h)+1)] > for i,j,k in itertools.product(ii,jj,kk): Oh, my fault, it is a leftover from pervious code where dim was etxtents of the box, not whole dimension. Thanks for spotting that, I will fix it. Thanks for the ellipsoid also. V.
Thread Previous • Date Previous • Date Next • Thread Next |