- Timestamp:
- Feb 17, 2012 12:04:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Cylinder_Fills.ipf
r800 r836 5 5 // most is still being worked out and verified in 2D 6 6 // 7 /// search for "crude core-shell cylinder" for an example of how this can be done 8 // -- maybe the same filling, but no mat=0 (ask) 7 9 8 10 … … 11 13 //process of calculating a series of configurations. 12 14 13 14 15 Proc ConnectDots3D(maxNumConn) 16 Variable maxNumConn=1 15 16 Proc ConnectDots3D(w,np,maxNumConn,sobol) 17 String w="mat" 18 Variable np=100,maxNumConn=2,sobol=1 19 Prompt w,"matrix" 20 Prompt np,"number of points" 21 prompt maxNumConn,"number of connections per point" 22 Prompt sobol,"1=Sobol, 0=random" 23 24 $w=0 25 26 if(sobol) 27 SobolFill3DMat($w,np) 28 else 29 RandomFill3DMat($w,np) 30 endif 31 32 ParseMatrix3DToXYZ(w) 17 33 18 34 Variable num=numpnts(x3d)
Note: See TracChangeset
for help on using the changeset viewer.