/dports/science/py-pymol/pymol-open-source-2.4.0/test/inp/ |
H A D | C0800matrices.pml | 28 cmd.get_distance("mol1///5/ca","mol3///5/ca"), \ 29 cmd.get_distance("mol2///5/ca","mol3///5/ca"))) 40 cmd.get_distance("mol1///5/ca","mol3///5/ca"), \ 41 cmd.get_distance("mol2///5/ca","mol3///5/ca"))) 54 cmd.get_distance("mol1///5/ca","mol3///5/ca"), \ 55 cmd.get_distance("mol2///5/ca","mol3///5/ca"))) 68 cmd.get_distance("mol1///5/ca","mol3///5/ca"), \ 69 cmd.get_distance("mol2///5/ca","mol3///5/ca"))) 85 cmd.get_distance("mol1///5/ca","mol3///5/ca"), \ 86 cmd.get_distance("mol2///5/ca","mol3///5/ca"))) [all …]
|
/dports/science/py-ase/ase-3.22.0/ase/test/atoms/ |
H A D | test_mic.py | 31 assert abs(a.get_distance(0, 1, mic=False) - d01F) < tol 32 assert abs(a.get_distance(0, 2, mic=False) - d02F) < tol 33 assert abs(a.get_distance(0, 3, mic=False) - d03F) < tol 36 assert abs(a.get_distance(0, 1, mic=True) - d01T) < tol 37 assert abs(a.get_distance(0, 2, mic=True) - d02T) < tol 38 assert abs(a.get_distance(0, 3, mic=True) - d03T) < tol 41 assert all(abs(a.get_distance(0, 1, mic=False, vector=True) 43 assert all(abs(a.get_distance(0, 2, mic=False, vector=True) 47 assert np.all(abs(a.get_distance(0, 1, mic=True, vector=True) 111 assert abs(a.get_distance(0, 1, mic=False) - 11.) < tol [all …]
|
H A D | test_atoms_distance.py | 18 assert a.get_distance(0, 1, mic=True) == 2 19 assert a.get_distance(1, 2, mic=True) == 3 20 assert a.get_distance(0, 2, mic=True) == 4 23 assert a.get_distance(0, 1, mic=False) == 2 24 assert a.get_distance(1, 2, mic=False) == 3 25 assert a.get_distance(0, 2, mic=False) == 5 44 old = a.get_distance(0, 1) 46 new = a.get_distance(0, 1) 51 old = a.get_distance(0, 1) 53 new = a.get_distance(0, 1)
|
/dports/science/py-ase/ase-3.22.0/ase/test/constraints/ |
H A D | test_CO2linear_Au111.py | 22 d0 = co2.get_distance(-3, -2) 23 d1 = co2.get_distance(-3, -1) 24 d2 = co2.get_distance(-2, -1) 36 assert abs(slab.get_distance(-3, -2, mic=1) - d0) < 1e-9 37 assert abs(slab.get_distance(-3, -1, mic=1) - d1) < 1e-9 38 assert abs(slab.get_distance(-2, -1, mic=1) - d2) < 1e-9
|
H A D | test_fixbondlength_CO2_Au111.py | 24 d0 = co2.get_distance(-3, -2) 25 d1 = co2.get_distance(-3, -1) 36 assert abs(slab.get_distance(-3, -2, mic=1) - d0) < 1e-9 37 assert abs(slab.get_distance(-3, -1, mic=1) - d1) < 1e-9
|
H A D | test_external_force.py | 29 dist1 = atoms.get_distance(atom1, atom2) 35 dist2 = atoms.get_distance(atom1, atom2) 63 d1 = atoms.get_distance(atom1, atom3) 68 d2 = atoms.get_distance(atom1, atom3)
|
H A D | test_mirror.py | 9 dist = atoms.get_distance(0, 1) 16 assert round(dist - atoms.get_distance(0, 1), 5) == 0 21 dist = atoms.get_distance(1, 2)
|
H A D | test_fix_bond_length_mic.py | 23 d1 = a.get_distance(0, 2, mic=True) 28 d2 = a.get_distance(0, 2, mic=True)
|
/dports/science/py-ase/ase-3.22.0/ase/test/md/ |
H A D | test_CO2linear_Au111_langevin.py | 30 d0 = co2.get_distance(-3, -2) 31 d1 = co2.get_distance(-3, -1) 32 d2 = co2.get_distance(-2, -1) 53 assert abs(slab.get_distance(-3, -2, mic=1) - d0) < 1e-9 54 assert abs(slab.get_distance(-3, -1, mic=1) - d1) < 1e-9 55 assert abs(slab.get_distance(-2, -1, mic=1) - d2) < 1e-9
|
/dports/games/widelands/widelands-build21/src/ai/test/ |
H A D | test_ai.cc | 39 BOOST_CHECK_EQUAL(fw.get_distance(0, 0, &tmp_wh), 1000); in BOOST_AUTO_TEST_CASE() 41 BOOST_CHECK_EQUAL(fw.get_distance(1, 2, &tmp_wh), 2); // distance now 2 in BOOST_AUTO_TEST_CASE() 47 BOOST_CHECK_EQUAL(fw.get_distance(1, kFlagDistanceExpirationPeriod / 3, &tmp_wh), 2); in BOOST_AUTO_TEST_CASE() 53 BOOST_CHECK_EQUAL(fw.get_distance(1, kFlagDistanceExpirationPeriod / 3, &tmp_wh), 1); in BOOST_AUTO_TEST_CASE() 65 BOOST_CHECK_EQUAL(fw.get_distance(1, kFlagDistanceExpirationPeriod * 2 / 3, &tmp_wh), 3); in BOOST_AUTO_TEST_CASE() 78 BOOST_CHECK_EQUAL(fw.get_distance(1, 3, &tmp_wh), 3); in BOOST_AUTO_TEST_CASE() 92 BOOST_CHECK_EQUAL(fw.get_distance(1, kFlagDistanceExpirationPeriod + 3, &tmp_wh), 1000); in BOOST_AUTO_TEST_CASE() 98 BOOST_CHECK_EQUAL(fw.get_distance(1, 2 * kFlagDistanceExpirationPeriod, &tmp_wh), 2); in BOOST_AUTO_TEST_CASE() 100 BOOST_CHECK_EQUAL(fw.get_distance(1, 2 * kFlagDistanceExpirationPeriod + 15, &tmp_wh), 1000); in BOOST_AUTO_TEST_CASE()
|
/dports/science/madness/madness-ebb3fd7/src/examples/ |
H A D | ac_corr.cc | 46 double get_distance(Vector<double,NDIM> elec, Vector<double,NDIM> nuc) const{ in get_distance() function in xc_functor 58 double dist = get_distance(r, atoms[0].coord)*get_distance(r, atoms[0].coord); in density() 63 ….4328790*get_distance(r, atoms[0].coord)*get_distance(r, atoms[0].coord))+ 0.6789140*exp(-0.433051… in density()
|
/dports/biology/p5-Bio-NEXUS/Bio-NEXUS-0.78/t/ |
H A D | tree_methods-02.t | 92 is($root_node->get_distance($node_H),7, "Distance of root to node H is correct"); 93 is($root_node->get_distance($node_A),9, "Distance of root to node A is correct"); 105 is($root_node->get_distance($node_H),$node_H->get_distance($root_node), "Consistency check for the … 116 is($node_H->get_distance($root_node),7, "Distance of node H to root node is correct"); 117 is($node_H->get_distance($node_A),16, "Distance of node H to node A is correct");
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/core/ |
H A D | Geometry.h | 69 double get_distance(int x1, int y1, int x2, int y2); 71 double get_distance(const Point& point1, const Point& point2); 87 inline double get_distance(int x1, int y1, int x2, int y2) { in get_distance() function 115 inline double get_distance(const Point& point1, const Point& point2) { in get_distance() function 117 return get_distance(point1.x, point1.y, point2.x, point2.y); in get_distance()
|
/dports/biology/py-ete3/ete3-3.1.2/examples/general/ |
H A D | get_distances_between_nodes.py | 33 print "The distance between A and C is", A.get_distance("C") 35 print "The distance between A and C is", t.get_distance("A","C") 38 t.get_distance("A","D", topology_only=True)
|
/dports/science/py-ase/ase-3.22.0/ase/test/neb/ |
H A D | test_idpp.py | 16 d0 = images[3].get_distance(2, 3) 18 d1 = images[3].get_distance(2, 3) 20 d2 = images[3].get_distance(2, 3)
|
/dports/science/py-ase/ase-3.22.0/ase/test/ |
H A D | test_things.py | 13 assert abs(hcp.get_distance(0, 3, mic=True) - 1) < 1e-12 14 assert abs(hcp.get_distance(0, 4, mic=True) - 1) < 1e-12 15 assert abs(hcp.get_distance(2, 5, mic=True) - 1) < 1e-12
|
/dports/science/py-ase/ase-3.22.0/ase/test/emt/ |
H A D | test_emt1.py | 19 d0 = cu.get_distance(0, 1) 23 print(cu.get_distance(0, 1)) 32 assert abs(cu.get_distance(0, 1) - d0) < 1e-14
|
H A D | test_emt_h3o2m.py | 49 print(image.get_distance(1, 2), image.get_potential_energy()) 64 print(image.get_distance(1, 2), image.get_potential_energy()) 70 print(image.get_distance(1, 2), image.get_potential_energy())
|
/dports/biology/py-biopython/biopython-1.79/Tests/ |
H A D | test_TreeConstruction.py | 147 dm = calculator.get_distance(aln) 151 dm = calculator.get_distance(aln) 155 dm = calculator.get_distance(aln) 159 dm = calculator.get_distance(aln) 165 dmat = DistanceCalculator("blosum62").get_distance(aln) 169 dmat = DistanceCalculator().get_distance(aln) 180 self.dm = calculator.get_distance(self.aln) 203 self.min_dm = calculator.get_distance(self.aln)
|
/dports/biology/py-ete3/ete3-3.1.2/ete3/test/ |
H A D | test_tree.py | 326 orig_dist = t.get_distance('A') 332 orig_dist = t.get_distance('A') 338 orig_dist = t.get_distance('A') 611 self.assertEqual(A.get_distance(A), 0) 612 self.assertEqual(I.get_distance(I), 0) 613 self.assertEqual(A.get_distance(root), root.get_distance(A)) 615 self.assertEqual(t.get_distance(A, root), root.get_distance(A)) 616 self.assertEqual(t.get_distance(root, A), A.get_distance(root)) 644 d1 = YGR138C.get_distance(YGR028W) 649 d2 = YGR138C.get_distance(YGR028W) [all …]
|
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/number_fields/quadratic_order/ |
H A D | quadratic_order2.cc | 61 ceil(temp, A.get_distance()); in rBJT() 113 subtract(R, D.get_distance(), F->get_distance()); in rBJT() 170 if (A.get_distance() > u) { in rshanks() 171 ceil(temp, A.get_distance()); in rshanks() 214 hR.assign(D.get_distance()); in rshanks() 237 subtract(hR, D.get_distance(), F->get_distance()); in rshanks() 251 subtract(hR, BB.get_distance(), F->get_distance()); in rshanks() 319 subtract(Rval, B.get_distance(), F->get_distance()); in find_hstar() 385 subtract(temp, A.get_distance(), F->get_distance()); in find_hstar() 941 while ((F.get_distance() < Gstep.get_distance()) && (!F.is_one())) { in cgBJT_real() [all …]
|
/dports/astro/celestia-gtk/celestia-1.6.1/scripts/ |
H A D | z-dist.celx | 3 function get_distance(obj_pos, ref_pos) 45 local d = get_distance(dso_pos,sel_pos) 59 local d = get_distance(dso_pos, ref_pos) 115 local d = get_distance(MW_pos,sel_pos)
|
/dports/astro/celestia/celestia-1.6.1/scripts/ |
H A D | z-dist.celx | 3 function get_distance(obj_pos, ref_pos) 45 local d = get_distance(dso_pos,sel_pos) 59 local d = get_distance(dso_pos, ref_pos) 115 local d = get_distance(MW_pos,sel_pos)
|
/dports/science/madness/madness-ebb3fd7/src/apps/chem/ |
H A D | AC.h | 41 double get_distance(Vector<double,NDIM> elec, Vector<double,NDIM> nuc) const{ in get_distance() function 202 d = get_distance(r, x.coord); in operator() 240 int_factor += (- get_distance(r,x.coord) + x.R2)/(x.R2-x.R1); in int_factor() 253 double get_distance(Vector<double,NDIM> elec, Vector<double,NDIM> nuc) const{ in get_distance() function 290 d = get_distance(r, x.coord); in operator() 320 double get_distance(Vector<double,NDIM> elec, Vector<double,NDIM> nuc) const{ in get_distance() function 336 pot += double(x.charge)/get_distance(r, x.coord); in potential()
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/concurrent_priority_queue/shortpath/ |
H A D | shortpath.cpp | 48 double get_distance(const point& p1, const point& p2) { in get_distance() function 119 … f_distance[src] = get_distance(vertices[src], vertices[dst]); // estimate distance from src to dst in shortpath() 144 double new_g_v = old_g_u + get_distance(vertices[u], vertices[v]); in shortpath_helper() 153 … new_f_v = f_distance[v] = g_distance[v] + get_distance(vertices[v], vertices[dst]); in shortpath_helper() 188 double seg_length = get_distance(vertices[path[i]], vertices[path[i+1]]); in print_path()
|