Changeset 953 for sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha
- Timestamp:
- Mar 10, 2015 10:50:03 AM (8 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_FillMatrixShapes.ipf
r943 r953 350 350 y1 = yc - trunc(rad/grid) - 2 351 351 y2 = yc + trunc(rad/grid) + 2 352 353 352 354 353 y1 = y1 < 0 ? 0 : y1 … … 807 806 Function XYZV_FillMat_Centered(xx,yy,zz,xc,yc,zc,rad,len,val,erase) 808 807 Wave xx,yy,zz 809 Variable xc,yc,zc,rad,len 810 Wave val 811 Variable erase 808 Variable xc,yc,zc,rad,len,val,erase 812 809 813 810 Variable x1,x2,y1,y2,z1,z2,ii,jj,kk,num,npt,minp,maxp … … 817 814 NVAR FFT_T=root:FFT_T 818 815 819 if(erase )816 if(erase == 1) 820 817 mat = solventSLD 821 818 endif … … 824 821 825 822 for(ii=0;ii<num;ii+=1) 826 mat[xx[ii]][yy[ii]][zz[ii]] = val [ii]823 mat[xx[ii]][yy[ii]][zz[ii]] = val 827 824 endfor 828 825 -
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_KR_Parser.ipf
r943 r953 61 61 KR_MultiCylinder_Units(xx,yy,zz,rri,hti,sbp,rotx,roty,sld) 62 62 63 XYZV_FillMat_Centered(xoutW,youtW,ZoutW,xc,yc,zc,rad,len, sldW,0) //last 1 will erase the matrix, 0 retains matrix63 XYZV_FillMat_Centered(xoutW,youtW,ZoutW,xc,yc,zc,rad,len,fill,0) //last 1 will erase the matrix, 0 retains matrix 64 64 65 65 //force a redraw (re-coloring) of the gizmo window
Note: See TracChangeset
for help on using the changeset viewer.