/dports/science/mcstas-comps/mcstas-comps-2.5-src/optics/ |
H A D | Pol_FieldBox.comp | 27 * zdepth: [m] Depth of the box containing the field. 38 SETTING PARAMETERS (xwidth,yheight,zdepth, Bx,By,Bz, filename="") 90 xw_2=xwidth/2.0;yh_2=yheight/2.0;zd_2=zdepth/2.0; 98 dashed_line(-xw_2, -yh_2, zdepth+zd_2, xw_2, -yh_2, zdepth-zd_2, nDash); 99 dashed_line(-xw_2, -yh_2, zdepth+zd_2, -xw_2, yh_2, zdepth+zd_2, nDash); 100 dashed_line( xw_2, yh_2, zdepth-zd_2, -xw_2, yh_2, zdepth+zd_2, nDash); 101 dashed_line( xw_2, yh_2, zdepth-zd_2, xw_2, -yh_2, zdepth-zd_2, nDash); 104 dashed_line(-xw_2, -yh_2, +zd_2, -xw_2, -yh_2, zdepth+zd_2, nDash); 105 dashed_line(-xw_2, yh_2, +zd_2, -xw_2, yh_2, zdepth+zd_2, nDash); 106 dashed_line( xw_2, -yh_2, -zd_2, xw_2, -yh_2, zdepth-zd_2, nDash); [all …]
|
H A D | V_selector.comp | 21 * position, Origo is at the centre of the selector (input is at -zdepth/2). 24 * Example: V_selector(xwidth=0.03, yheight=0.05, zdepth=0.30, radius=0.12, alpha=48.298, length=0.2… 36 * zdepth: [m] Distance between apertures, for housing containing the rotor 39 * length: [m] Length of cylinder/rotor (less than zdepth) 51 SETTING PARAMETERS (xwidth=0.03, yheight=0.05, zdepth=0.30, radius=0.12, alpha=48.298, length=0.25,… 65 if (zdepth < length) zdepth=length; 72 dt1= (-zdepth/2.0 - z)/vz; 77 dt0 = (zdepth-length)/(2.0*vz); /* Propagate to the cylinder start */ 87 dt0 = (zdepth-length)/(2.0*vz); /* Propagate to the exit aperture */ 110 double z0 = -zdepth/2.0; [all …]
|
H A D | Pol_SF_ideal.comp | 34 * zdepth: [m] length of the spin flipper. 42 SETTING PARAMETERS (nx=0, ny=1, nz=0, xwidth=0.1, yheight=0.1, zdepth=0.1) 49 hit=box_intersect(&t0,&t1, x,y,z,vx,vy,vz, xwidth,yheight,zdepth); 52 if(fabs(z- -zdepth*0.5)>DBL_EPSILON){ 66 if(fabs(z-zdepth*0.5)>DBL_EPSILON){ 79 box(0,0,0,xwidth,yheight,zdepth);
|
H A D | Pol_Bfield.comp | 25 * Pol_Bfield(xwidth=0.08, yheight=0.08, zdepth=0.2, Bx=0, By=-0.678332e-4, Bz=0) 40 * Example: Pol_Bfield(xwidth=0.1, yheight=0.1, zdepth=0.2, Bx=0, By=1, Bz=0) 41 * Pol_Bfield(xwidth=0.1, yheight=0.1, zdepth=0.2, 55 * (-Bx,By,0) after zdepth where By<<Bx 81 * zdepth: [m] Length of field. 137 ( *( (double *)parPtr +1) )=zdepth; 142 a[2]=zdepth; 159 }else if(xwidth && yheight && zdepth){ 161 }else if (xwidth && yheight && !zdepth){ 189 hit=box_intersect(&t0,&t1,x,y,z,vx,vy,vz,xwidth,yheight,zdepth); [all …]
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/contrib/ |
H A D | Pol_triafield.comp | 46 * zdepth: [m] zdepth of field 56 SETTING PARAMETERS (xwidth, yheight, zdepth, B=0, Bguide=0) 90 if ((xwidth<=0) || (yheight<=0) || (zdepth<=0)) { 92 "ERROR (xwidth, yheight, zdepth). Exiting\n", 110 deltaT = zdepth/vz; 115 …e second field boundary is given by the points ( xwidth/2, 0,zdepth/2) and (-xwidth/2, 0, zdepth) 117 denom1 = (-vz)*((-xwidth/2)-xwidth/2)-(x-(x+vx))*(-zdepth/2); 118 iz1 = ((-x*vz)*(-zdepth/2)-(-vz)*(-(-xwidth/2)*zdepth/2))/denom1; 120 denom2 = (-vz)*(xwidth/2-(-xwidth/2))-(x-(x+vx))*(zdepth/2-zdepth); 121 iz2 = ((-x*vz)*(zdepth/2-zdepth)-(-vz)*(zdepth/2*(-xwidth/2)-xwidth/2*zdepth))/denom2; [all …]
|
H A D | Foil_flipper_magnet.comp | 34 * zdepth: [m] thickness of the magnet 131 /*magnet_prms=mcmagnet_init_par(Bx,By,Bz,xwidth,yheight,zdepth);*/ 135 instray_magnet[5]=-zdepth/2.0; 140 outstray_magnet[5]=zdepth/2.0; 153 if (Bzdepth==-1) Bzdepth=zdepth; 195 if ( (box_intersect(&t3, &t4, x, y, z, vx, vy, vz,xwidth, yheight, zdepth))==0){ 212 if (plane_intersect(&dt,x,y,z,vx,vy,vz,0,0,1,0,0,zdepth/2.0)==0){ 261 double y=atan(phi)*zdepth/2.0; 264 if (Bxwidth!=xwidth || Byheight!=yheight || Bzdepth!=zdepth){ 265 box(0,0,0,xwidth,yheight,zdepth); [all …]
|
H A D | SANS_DebyeS.comp | 33 * Example: SANS_DebyeS(transm=0.5, qDS=0.008, xwidth=0.01, yheight=0.01, zdepth=0.001) 39 * transm: [1] coherent transmission of sample for the optical path "zdepth" 43 * zdepth: [m] thickness of sample (m) 53 SETTING PARAMETERS (transm=0.5, qDS=0.008, xwidth=0.01, yheight=0.01, zdepth=0.001) 63 if (!xwidth || !yheight || !zdepth) { 80 intersect = box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth); 87 transmr = exp(log(transmr)*l_full/zdepth); /* real transmission */ 109 …if(!box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth)) fprintf(stderr, "SAN… 126 double zmin = -0.5*zdepth; 127 double zmax = 0.5*zdepth;
|
H A D | SANS_Guinier.comp | 39 * Example: SANS_Guinier(transm=0.5, Rg=100, qmax=0.03, xwidth=0.01, yheight=0.01, zdepth=0.001) 45 * transm: [1] (coherent) transmission of sample for the optical path "zdepth" 50 * zdepth: [m] thickness of sample 60 SETTING PARAMETERS (transm=0.5, Rg=100, qmax=0.03, xwidth=0.01, yheight=0.01, zdepth=0.001) 70 if (!xwidth || !yheight || !zdepth) { 88 intersect = box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth); 95 transmr = exp(log(transmr)*l_full/zdepth); /* real transmission */ 125 …if(!box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth)) fprintf(stderr, "SAN… 142 double zmin = -0.5*zdepth; 143 double zmax = 0.5*zdepth;
|
H A D | SANS_AnySamp.comp | 39 * Example: SANS_AnySamp(transm=0.5, Rg=100, qmax=0.03, xwidth=0.01, yheight=0.01, zdepth=0.001) 45 * transm: [1] coherent transmission of sample for the optical path "zdepth" 50 * zdepth: [m] thickness of sample 61 xwidth=0.01, yheight=0.01, zdepth=0.001) 71 if (!xwidth || !yheight || !zdepth) { 110 intersect = box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth); 117 transmr = exp(log(transmr)*l_full/zdepth); /* real transmission */ 148 …if(!box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth)) fprintf(stderr, "SAN… 169 double zmin = -0.5*zdepth; 170 double zmax = 0.5*zdepth;
|
/dports/science/mcxtrace-comps/mcxtrace-comps-1.2-src/examples/ |
H A D | TestSAXS.instr | 86 zdepth = 0.01, 97 zdepth = 0.01, 109 zdepth = 0.01, 119 zdepth = 0.01, 129 zdepth = 0.01, 139 zdepth = 0.01, 149 zdepth = 0.01, 159 zdepth = 0.01, 173 zdepth = 0.01, 183 zdepth = 0.01, [all …]
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/examples/ |
H A D | TestSANS.instr | 69 zdepth = 0.1, 79 zdepth = 0.1, 90 zdepth = 0.1, 99 zdepth = 0.1, 108 zdepth = 0.1, 117 zdepth = 0.1, 126 zdepth = 0.1, 135 zdepth = 0.1, 148 zdepth = 0.1, 157 zdepth = 0.1, [all …]
|
H A D | Union_test_mask.instr | 67 COMPONENT volume_1 = Union_box(xwidth=0.1,yheight=0.1,zdepth=0.1,priority=10,material_string="test_… 71 COMPONENT volume_2 = Union_box(xwidth=0.09,yheight=0.1,zdepth=0.1,priority=11,material_string="test… 75 COMPONENT mask_1_1 = Union_box(xwidth=0.03,yheight=0.03,zdepth=0.03,priority=12,mask_string="volume… 79 COMPONENT mask_1_2 = Union_box(xwidth=0.01,yheight=0.01,zdepth=0.05,priority=13,mask_string="volume… 83 COMPONENT mask_2_1 = Union_box(xwidth=0.04,yheight=0.04,zdepth=0.04,priority=14,mask_string="volume… 87 COMPONENT mask_2_2 = Union_box(xwidth=0.015,yheight=0.015,zdepth=0.055,priority=15,mask_string="vol…
|
H A D | Union_sample_picture_replica.instr | 117 COMPONENT sample_box_cut = Union_box(xwidth=0.0101,yheight=0.006,zdepth=0.006, priority=20.5, mater… 121 COMPONENT al_in_box_cut = Union_box(xwidth=0.01,yheight=0.001,zdepth=0.001, priority=20.7, material… 126 COMPONENT sample_holder_under_sample = Union_box(xwidth=0.01, yheight=0.025, zdepth=0.002, priority… 135 COMPONENT sample_holder_long_piece = Union_box(xwidth=0.0099, yheight=0.03, zdepth=0.002, priority=… 143 COMPONENT bottom_horizontal_piece = Union_box(xwidth=0.01, yheight=0.002, zdepth=0.025*0.5, priorit… 151 COMPONENT bottom_vertical_piece = Union_box(xwidth=0.0099, yheight=0.025, zdepth=0.002, priority=24… 159 COMPONENT cylinder_holder_cutout = Union_box(xwidth=0.0201, yheight=0.02, zdepth=0.0025, priority=6…
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/glx/ |
H A D | timetunnel.c | 570 depth=0.3, zdepth=15.0; in make_wall_tunnel() local 601 glVertex3f(0.0, 0.0, zdepth); in make_wall_tunnel() 603 glVertex3f(1.0, -2.0, zdepth); in make_wall_tunnel() 604 glVertex3f(1.0, 2.0, zdepth); in make_wall_tunnel() 605 glVertex3f(0.2, 2.0, zdepth); in make_wall_tunnel() 606 glVertex3f(0.2, 2.2, zdepth); in make_wall_tunnel() 607 glVertex3f(-0.2, 2.2, zdepth); in make_wall_tunnel() 608 glVertex3f(-0.2, 2.0, zdepth); in make_wall_tunnel() 609 glVertex3f(-1.0, 2.0, zdepth); in make_wall_tunnel() 669 glVertex3f(0.2, 2.0, zdepth); in make_wall_tunnel() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tunit/ |
H A D | tunit.cpp | 656 zdepth->add(u); in addCameraMeasures() 657 zdepth->setCurrentUnit(u); in addCameraMeasures() 658 zdepth->setStandardUnit(u); in addCameraMeasures() 663 zdepth->add(u); in addCameraMeasures() 664 zdepth->setCurrentUnit(u); in addCameraMeasures() 665 zdepth->setStandardUnit(u); in addCameraMeasures() 671 zdepth->add(u); in addCameraMeasures() 672 zdepth->setCurrentUnit(u); in addCameraMeasures() 673 zdepth->setStandardUnit(u); in addCameraMeasures() 678 zdepth->add(u); in addCameraMeasures() [all …]
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/obsolete/ |
H A D | Pol_simpleBfield.comp | 25 * Pol_simpleBfield(xwidth=0.08, yheight=0.08, zdepth=0.2, Bx=0, By=-0.678332e-4, Bz=0) 40 * Example: Pol_simpleBfield(xwidth=0.1, yheight=0.1, zdepth=0.2, Bx=0, By=1, Bz=0) 41 * Pol_simpleBfield(xwidth=0.1, yheight=0.1, zdepth=0.2, 52 * 2. rot_magnetic_field: Field is initially (0,By,0) but after a length of zdepth 55 * (-Bx,By,0) after zdepth where By<<Bx 86 * zdepth: [m] Length of field. 103 SETTING PARAMETERS (xwidth, yheight,zdepth, 139 t[1]=zdepth; 145 t[2]=zdepth; 154 if ((xwidth<=0) || (yheight<=0) || (zdepth<=0)) { [all …]
|
/dports/science/mcxtrace-comps/mcxtrace-comps-1.2-src/optics/ |
H A D | Mirror_elliptic.comp | 40 * zdepth: [m] zdepth (length) of the mirror. Overrides length. 49 SETTING PARAMETERS (R=1, a=0, b=0, c=1, width=0, length=0, yheight=1, zdepth=1) 108 if ( (fabs(y)<yheight/2.0) && (fabs(zt)<zdepth/2.0) ){ 133 if (xwidth && zdepth){ 136 zz=i*zdepth/(N-1)-zdepth/2.0; 147 zz0=-zdepth/2.0; 151 zz=j*zdepth/(N-1)-zdepth/2.0;
|
H A D | Filter.comp | 28 * zdepth: Thickness of block. (m) 35 SETTING PARAMETERS (string geometry=0,xwidth,yheight,zdepth) 100 if(!xwidth || !yheight || !zdepth){ 137 if (off_init(geometry, xwidth, yheight, zdepth, 0, &(prms->offdata))) { 149 status=box_intersect(&l0,&l1,x,y,z,kx,ky,kz,xwidth,yheight,zdepth); 174 }else if( fabs(z-zdepth*0.5)<FLT_EPSILON || fabs(z+zdepth*0.5)<FLT_EPSILON ){ 204 }else if( fabs(z-zdepth*0.5)<FLT_EPSILON || fabs(z+zdepth*0.5)<FLT_EPSILON ){ 233 box(0,0,0,xwidth,yheight,zdepth);
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/kfc/ |
H A D | sysctx-priv.h | 38 - sizeof new_ctx -> zdepth ); \ 42 new_ctx -> zdepth = ctx -> zdepth + 1; \
|
H A D | tstate.c | 160 uint32_t zdepth; /* root node has zdepth == 0 */ member 448 node -> zdepth = ctx -> zdepth; in KThreadEvtNodeMake() 521 KThreadEvtNode * KThreadEvtNodeLocate ( KThreadEvtNode * self, uint32_t zdepth ) in KThreadEvtNodeLocate() argument 523 assert ( zdepth <= self -> zdepth ); in KThreadEvtNodeLocate() 524 while ( zdepth < self -> zdepth ) in KThreadEvtNodeLocate() 712 node = KThreadEvtNodeLocate ( existing -> node, ctx -> zdepth ); in KThreadStateEvent() 755 par = KThreadEvtNodeLocate ( existing -> node, ctx -> zdepth ); in KThreadStateEvent() 800 KThreadEvtNode * node = KThreadEvtNodeLocate ( evt -> node, ctx -> zdepth ); in KThreadStateClearEvents()
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/kfc/ |
H A D | sysctx-priv.h | 38 - sizeof new_ctx -> zdepth ); \ 42 new_ctx -> zdepth = ctx -> zdepth + 1; \
|
/dports/games/gltron/gltron-0.70/nebu/video/ |
H A D | video_system.c | 22 int bitdepth, zdepth; in SystemInitDisplayMode() local 36 zdepth = 24; in SystemInitDisplayMode() 39 zdepth = 16; in SystemInitDisplayMode() 43 SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, zdepth); in SystemInitDisplayMode()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/svm/ |
H A D | svm_camera.h | 27 float zdepth; in svm_node_camera() local 32 zdepth = vector.z; in svm_node_camera() 39 stack_store_float(stack, out_zdepth, zdepth); in svm_node_camera()
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/misc/ |
H A D | Shape.comp | 23 * box/plate: xwidth x yheight x zdepth (thickness=0) 24 * hollow box/plate:xwidth x yheight x zdepth and thickness>0 38 * bounding box may be resized using xwidth,yheight and zdepth. 48 * zdepth: [m] Depth of sample (bounding box if off file) 62 SETTING PARAMETERS (string geometry=0, radius=0, xwidth=0, yheight=0, zdepth=0, thickness=0) 80 if (off_init(geometry, xwidth, yheight, zdepth, 0, &offdata)) {
|
/dports/graphics/xfractint/xfractint-20.04p16/common/ |
H A D | zoom.c | 136 tmpy = zdepth*finalaspectratio/2; in drawbox() 298 if ((zby += dy) + zdepth/2 < 0) in moveboxf() 299 zby = zdepth/-2; in moveboxf() 300 if (zby + zdepth/2 > 1) in moveboxf() 301 zby = 1.0 - zdepth/2; in moveboxf() 336 if (zdepth+ddepth > 1) in chgboxf() 337 ddepth = 1.0-zdepth; in chgboxf() 338 if (zdepth+ddepth < 0.05) in chgboxf() 339 ddepth = 0.05-zdepth; in chgboxf() 340 zdepth += ddepth; in chgboxf() [all …]
|