/dports/science/mcstas-comps/mcstas-comps-2.5-src/optics/ |
H A D | Pol_guide_vmirror.comp | 140 localG = coords_set(0, 0, 0); 149 normalInOut = coords_set(0, 0, 1); 150 pointIn = coords_set(0, 0, 0); 156 normalTop = coords_set(0, 1, 0); 162 normalBot = coords_set(0, 1, 0); 168 normalLeft = coords_set(1, 0, 0); 174 normalRight = coords_set(1, 0, 0); 202 pointMirror = coords_set(0, 0, 0); 218 xVec = coords_set(x, y, z); 219 vVec = coords_set(vx, vy, vz); [all …]
|
H A D | Pol_guide_mirror.comp | 144 localG = coords_set(0, 0, 0); 153 normalInOut = coords_set(0, 0, 1); 154 pointIn = coords_set(0, 0, 0); 155 pointOut = coords_set(0, 0, length); 160 normalTop = coords_set(0, 1, 0); 166 normalBot = coords_set(0, 1, 0); 172 normalLeft = coords_set(1, 0, 0); 178 normalRight = coords_set(1, 0, 0); 214 xVec = coords_set(x, y, z); 215 vVec = coords_set(vx, vy, vz); [all …]
|
H A D | Pol_bender.comp | 209 localG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); 219 localG = coords_set(0, 0, 0); 226 normIn = coords_set(0, 0, 1); 228 normOut = coords_set(0, 0, 1); 230 normOut = coords_set(sin(angle), 0, cos(angle)); 231 pointIn = coords_set(0, 0, 0); 237 normTopBot = coords_set(0, 1, 0); 238 pointTop = coords_set(0, yheight/2, 0); 239 pointBot = coords_set(0, -yheight/2, 0); 310 xVec = coords_set(x, y, z); [all …]
|
H A D | Derotator.comp | 55 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 57 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz);
|
H A D | Rotator.comp | 64 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 66 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz);
|
H A D | Guide_channeled.comp | 143 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 156 X = coords_set(vx,vy,vz); 281 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 289 X = coords_set(vx,vy,vz);
|
H A D | Guide_gravity.comp | 366 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,G,0)); 400 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 413 X = coords_set(vx,vy,vz); 544 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 552 X = coords_set(vx,vy,vz);
|
/dports/astro/sunwait/sunwait-20041208/ |
H A D | main.c | 85 int coords_set = 0; in main() local 142 coords_set |= LAT_SET; in main() 146 coords_set |= LAT_SET; in main() 150 coords_set |= LON_SET; in main() 158 coords_set |= LON_SET; in main() 188 if (coords_set != (LAT_SET | LON_SET)) { in main()
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/misc/ |
H A D | Scatter_logger.comp | 51 Coords _r = coords_set(x,y,z);\ 52 Coords _v = coords_set(vx,vy,vz);\ 53 Coords _s = coords_set(sx,sy,sz);\ 115 Coords r = coords_set(x,y,z); 116 Coords v = coords_set(vx,vy,vz); 117 Coords s = coords_set(sx,sy,sz);
|
/dports/science/mcstas/mcstas-2.5-src/nlib/share/ |
H A D | mcstas-r.h | 125 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); \ 137 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); \ 161 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); \ 185 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); \
|
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/analysis/ |
H A D | adsorption.py | 315 def symm_reduce(self, coords_set, threshold=1e-6): argument 329 coords_set = [self.slab.lattice.get_fractional_coords(coords) for coords in coords_set] 330 for coords in coords_set: 341 def near_reduce(self, coords_set, threshold=1e-4): argument 351 coords_set = [self.slab.lattice.get_fractional_coords(coords) for coords in coords_set] 352 for coord in coords_set:
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/share/ |
H A D | Geometry_functions.c | 113 Coords cross_input = coords_set(0,1,0); in point_on_circle() 138 Coords cross_input = coords_set(0,1,0); in points_on_circle() 261 Coords velocity = coords_set(v[0],v[1],v[2]); in sample_box_intersect_advanced() 406 Coords x_vector = coords_set(1,0,0); in box_corners_local_frame() 407 Coords y_vector = coords_set(0,1,0); in box_corners_local_frame() 408 Coords z_vector = coords_set(0,0,1); in box_corners_local_frame() 409 Coords origo = coords_set(0,0,0); in box_corners_local_frame() 750 Coords simple_vector = coords_set(0,1,0); in r_within_cylinder() 814 Coords simple_vector = coords_set(0,1,0); in cylinder_overlaps_cylinder() 1017 Coords simple_vector = coords_set(0,1,0); in cylinder_within_cylinder() [all …]
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/contrib/union/ |
H A D | Union_box.comp | 144 Coords simple_vector = coords_set(1,0,0); 151 simple_vector = coords_set(0,1,0); 156 simple_vector = coords_set(0,0,1); 381 this_box_storage.normal_vectors[0] = coords_set(0,0,1); 382 this_box_storage.normal_vectors[1] = coords_set(0,0,1); 388 this_box_storage.normal_vectors[2] = coords_set(x_component,0,z_component); 389 this_box_storage.normal_vectors[3] = coords_set(-x_component,0,z_component); 395 this_box_storage.normal_vectors[4] = coords_set(0,y_component,z_component); 396 this_box_storage.normal_vectors[5] = coords_set(0,-y_component,z_component);
|
H A D | Union_sphere.comp | 91 Coords direction1 = coords_set(0,0,1.0); 92 Coords direction2 = coords_set(0,1.0,0); 93 Coords direction3 = coords_set(1.0,0,0); 135 Coords direction = coords_set(0,0,1.0);
|
H A D | Union_master.comp | 653 simple_vector = coords_set(0,1,0); 927 ray_position = coords_set(x,y,z); 928 ray_velocity = coords_set(vx,vy,vz); 1348 ray_position = coords_set(x,y,z); 1349 ray_velocity = coords_set(vx,vy,vz); 1477 ray_position = coords_set(x,y,z); 1478 ray_velocity = coords_set(vx,vy,vz); 1526 ray_position = coords_set(x,y,z); 1527 ray_velocity = coords_set(vx,vy,vz); 1653 ray_position = coords_set(x,y,z); [all …]
|
/dports/databases/tiledb/TileDB-2.5.2/tiledb/sm/subarray/ |
H A D | subarray.cc | 1910 std::vector<std::set<T>> coords_set; in compute_tile_coords_col() local 1917 coords_set.resize(dim_num); in compute_tile_coords_col() 1926 coords_set[d].insert(t); in compute_tile_coords_col() 1934 iters.push_back(coords_set[d].begin()); in compute_tile_coords_col() 1953 if (iters[d] != coords_set[d].end()) in compute_tile_coords_col() 1956 iters[d] = coords_set[d].begin(); in compute_tile_coords_col() 1970 std::vector<std::set<T>> coords_set; in compute_tile_coords_row() local 1977 coords_set.resize(dim_num); in compute_tile_coords_row() 1986 coords_set[d].insert(t); in compute_tile_coords_row() 2013 if (iters[d] != coords_set[d].end()) in compute_tile_coords_row() [all …]
|
/dports/cad/oregano/oregano-0.84.43/src/ |
H A D | coords.h | 66 Coords *coords_set (Coords *a, const Coords *val);
|
H A D | coords.c | 94 inline Coords *coords_set (Coords *a, const Coords *val) in coords_set() function
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/examples/ |
H A D | ILL_IN13.instr | 381 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 383 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz); 392 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 394 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz); 438 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 440 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz);
|
H A D | ILL_Lagrange.instr | 224 coords_get(rot_apply(R, coords_set(x,y,z)), &x, &y, &z); 226 coords_get(rot_apply(R, coords_set(vx,vy,vz)), &vx, &vy, &vz);
|
/dports/science/mcxtrace-comps/mcxtrace-comps-1.2-src/sources/ |
H A D | Source_lab.comp | 164 O_xray_gen=coords_set(0,0,0); 185 P=coords_set(x1,y1,z1); 246 coords_get(rot_apply(R_xray_gen,coords_set(0,1,0)),&nx,&ny,&nz); 247 coords_get(rot_apply(R_xray_gen,coords_set(0,-thickness,0)),&px,&py,&pz); 252 coords_get(rot_apply(R_xray_gen,coords_set(0,1,0)),&nx,&ny,&nz);
|
/dports/science/mcstas/mcstas-2.5-src/lib/share/ |
H A D | interoff-lib.c | 155 inter->v = inter->normal = coords_set(0,0,1); in off_intersectPoly() 167 inter->v = coords_set(a.x + inter->time * dir.x,// intersect point of ray and plane in off_intersectPoly() 334 pol.normal= coords_set(0,0,1); in off_clip_3D_mod()
|
/dports/science/mcxtrace/mcxtrace-1.2-src/lib/share/ |
H A D | interoff-lib.c | 155 inter->v = inter->normal = coords_set(0,0,1); in off_intersectPoly() 167 inter->v = coords_set(a.x + inter->time * dir.x,// intersect point of ray and plane in off_intersectPoly() 372 pol.normal= coords_set(0,0,1); in off_clip_3D_mod()
|
/dports/science/mcxtrace/mcxtrace-1.2-src/xlib/share/ |
H A D | mcxtrace-r.h | 140 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,-GRAVITY,0)); \
|
/dports/science/mcstas-comps/mcstas-comps-2.5-src/contrib/ |
H A D | Guide_gravity_psd.comp | 438 mcLocG = rot_apply(ROT_A_CURRENT_COMP, coords_set(0,G,0)); 494 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 507 X = coords_set(vx,vy,vz); 673 … Coords X = coords_set(x,y,z-l/2); /* current coordinates of neutron in centered static frame */ 681 X = coords_set(vx,vy,vz);
|