Changeset 2923
- Timestamp:
- 09/02/10 11:52:26 (17 months ago)
- Location:
- trunk/nlib/samples
- Files:
-
- 4 modified
-
Incoherent.comp (modified) (1 diff)
-
Isotropic_Sqw.comp (modified) (2 diffs)
-
PowderN.comp (modified) (3 diffs)
-
Single_crystal.comp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nlib/samples/Incoherent.comp
r2824 r2923 244 244 intersect = sphere_intersect(&t0, &t3, x, y, z, vx, vy, vz, radius); 245 245 else if (VarsInc.shape == 3) 246 intersect = off_intersect(&t0, &t3, x, y, z, vx, vy, vz, offdata );246 intersect = off_intersect(&t0, &t3, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 247 247 if (intersect) { 248 248 int flag_ishollow = 0; -
trunk/nlib/samples/Isotropic_Sqw.comp
r2850 r2923 1422 1422 intersect=sphere_intersect (&t0,&t3, x,y,z,vx,vy,vz, radius); 1423 1423 else if (VarSqw.shape == 3) 1424 intersect=off_intersect(&t0, &t3, x, y, z, vx, vy, vz, offdata );1424 intersect=off_intersect(&t0, &t3, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 1425 1425 } else { 1426 1426 if (VarSqw.shape==0) … … 1435 1435 intersect=sphere_intersect (&t0,&t3, x,y,z,vx,vy,vz, radius-thickness); 1436 1436 else if (VarSqw.shape == 3) 1437 intersect=off_intersect(&t0, &t3, x, y, z, vx, vy, vz, offdata );1437 intersect=off_intersect(&t0, &t3, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 1438 1438 } 1439 1439 } else intersect=0; -
trunk/nlib/samples/PowderN.comp
r2825 r2923 606 606 intersecti = sphere_intersect (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 607 607 } else if (line_info.shape == 3) { 608 intersect = off_intersect (&t0, &t3, x,y,z, vx,vy,vz, offdata);608 intersect = off_intersect (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 609 609 intersecti = 0; 610 610 } … … 752 752 intersecti = sphere_intersect (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 753 753 } else if (line_info.shape == 3) { 754 intersect = off_intersect (&t0, &t3, x,y,z, vx,vy,vz, offdata);754 intersect = off_intersect (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 755 755 intersecti = 0; 756 756 } … … 812 812 intersecti = sphere_intersect (&t1, &t2, x,y,z, vx,vy,vz, radius_i); 813 813 } else if (line_info.shape == 3) { 814 intersect = off_intersect (&t0, &t3, x,y,z, vx,vy,vz, offdata);814 intersect = off_intersect (&t0, &t3, NULL, NULL, x,y,z, vx,vy,vz, offdata); 815 815 intersecti = 0; 816 816 } -
trunk/nlib/samples/Single_crystal.comp
r2837 r2923 807 807 intersect = sphere_intersect(&t1, &t2, x, y, z, vx, vy, vz, radius); 808 808 else if (hkl_info.shape == 3) 809 intersect = off_intersect(&t1, &t2, x, y, z, vx, vy, vz, offdata );809 intersect = off_intersect(&t1, &t2, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 810 810 811 811 if (t2 < 0) intersect=0; /* we passed sample volume already */ … … 835 835 intersect = sphere_intersect(&t1, &t2, x, y, z, vx, vy, vz, radius); 836 836 else if (hkl_info.shape == 3) 837 intersect = off_intersect(&t1, &t2, x, y, z, vx, vy, vz, offdata );837 intersect = off_intersect(&t1, &t2, NULL, NULL, x, y, z, vx, vy, vz, offdata ); 838 838 if(!intersect || t2*v < -1e-9 || t1*v > 1e-9) 839 839 {
