/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/filter_musical_instruments/ |
H A D | filter_musical_instruments.cpp | 90 float sphere_radius = par.getFloat("sphere_radius"); in applyFilter() local 97 if(hole_radius > sphere_radius) in applyFilter() 111 float neck_join = sqrt(sphere_radius*sphere_radius - hole_radius*hole_radius); in applyFilter() 112 float neck_join_angle = asin(hole_radius/sphere_radius); in applyFilter() 113 …float neck_join2 = sqrt((sphere_radius + wall_thickness)*(sphere_radius + wall_thickness) - (hole_… in applyFilter() 128 float px = sphere_radius * cos(Rangle * float(Rstep)) * sin(Vangle * float(Vstep)); in applyFilter() 129 float py = sphere_radius * cos(3.1415 - (Vangle * float(Vstep))); in applyFilter() 130 float pz = sphere_radius * sin(Rangle * float(Rstep)) * sin(Vangle * float(Vstep)); in applyFilter() 172 float py = (sphere_radius + wall_thickness) * cos(3.1415 - (Vangle * float(Vstep))); in applyFilter() 181 (*vi).P()= vcg::Point3f(0.0, -sphere_radius, 0.0); in applyFilter() [all …]
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-web/cirq_web/bloch_sphere/ |
H A D | bloch_sphere_test.py | 33 def test_valid_bloch_sphere_radius(sphere_radius): argument 35 bloch_sphere = cirq_web.BlochSphere(sphere_radius, state_vector) 36 assert sphere_radius == bloch_sphere.sphere_radius 40 def test_invalid_bloch_sphere_radius(sphere_radius): argument 42 cirq_web.BlochSphere(sphere_radius=sphere_radius)
|
H A D | bloch_sphere.py | 24 sphere_radius: int = 5, 38 if sphere_radius <= 0: 40 self.sphere_radius = sphere_radius
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-web/cirq_web/bloch_sphere/ |
H A D | bloch_sphere_test.py | 33 def test_valid_bloch_sphere_radius(sphere_radius): argument 35 bloch_sphere = cirq_web.BlochSphere(sphere_radius, state_vector) 36 assert sphere_radius == bloch_sphere.sphere_radius 40 def test_invalid_bloch_sphere_radius(sphere_radius): argument 42 cirq_web.BlochSphere(sphere_radius=sphere_radius)
|
H A D | bloch_sphere.py | 26 sphere_radius: int = 5, 39 if sphere_radius <= 0: 41 self.sphere_radius = sphere_radius
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-web/cirq_web/bloch_sphere/ |
H A D | bloch_sphere_test.py | 33 def test_valid_bloch_sphere_radius(sphere_radius): argument 35 bloch_sphere = cirq_web.BlochSphere(sphere_radius, state_vector) 36 assert sphere_radius == bloch_sphere.sphere_radius 40 def test_invalid_bloch_sphere_radius(sphere_radius): argument 42 cirq_web.BlochSphere(sphere_radius=sphere_radius)
|
H A D | bloch_sphere.py | 26 sphere_radius: int = 5, 39 if sphere_radius <= 0: 41 self.sphere_radius = sphere_radius
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-web/cirq_web/bloch_sphere/ |
H A D | bloch_sphere_test.py | 33 def test_valid_bloch_sphere_radius(sphere_radius): argument 35 bloch_sphere = cirq_web.BlochSphere(sphere_radius, state_vector) 36 assert sphere_radius == bloch_sphere.sphere_radius 40 def test_invalid_bloch_sphere_radius(sphere_radius): argument 42 cirq_web.BlochSphere(sphere_radius=sphere_radius)
|
H A D | bloch_sphere.py | 26 sphere_radius: int = 5, 39 if sphere_radius <= 0: 41 self.sphere_radius = sphere_radius
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-web/cirq_web/bloch_sphere/ |
H A D | bloch_sphere_test.py | 33 def test_valid_bloch_sphere_radius(sphere_radius): argument 35 bloch_sphere = cirq_web.BlochSphere(sphere_radius, state_vector) 36 assert sphere_radius == bloch_sphere.sphere_radius 40 def test_invalid_bloch_sphere_radius(sphere_radius): argument 42 cirq_web.BlochSphere(sphere_radius=sphere_radius)
|
H A D | bloch_sphere.py | 26 sphere_radius: int = 5, 39 if sphere_radius <= 0: 41 self.sphere_radius = sphere_radius
|
/dports/science/py-OpenMC/openmc-0.12.2/openmc/model/ |
H A D | triso.py | 134 self.sphere_radius = sphere_radius 138 def sphere_radius(self): member in _Container 157 @sphere_radius.setter 158 def sphere_radius(self, sphere_radius): member in _Container 199 d = 2*self.sphere_radius 315 r = self.sphere_radius 497 r = self.sphere_radius 504 h = 4*self.sphere_radius 897 sqd = (2*domain.sphere_radius)**2 1138 diameter = 2*domain.sphere_radius [all …]
|
/dports/science/openmc/openmc-0.12.2/openmc/model/ |
H A D | triso.py | 134 self.sphere_radius = sphere_radius 138 def sphere_radius(self): member in _Container 157 @sphere_radius.setter 158 def sphere_radius(self, sphere_radius): argument 199 d = 2*self.sphere_radius 315 r = self.sphere_radius 497 r = self.sphere_radius 504 h = 4*self.sphere_radius 897 sqd = (2*domain.sphere_radius)**2 1138 diameter = 2*domain.sphere_radius [all …]
|
/dports/science/chrono/chrono-7.0.1/src/demos/gpu/ |
H A D | demo_GPU_fixedterrain.cpp | 45 ChSystemGpu gpu_sys(params.sphere_radius, params.sphere_density, in main() 55 MeshSphericalDecomposition<float>(objfilename, scaling, offset, params.sphere_radius); in main() 59 const float boundary_padding = 8.f * params.sphere_radius; in main() 64 fill_bottom += 4.f * params.sphere_radius; in main() 66 const float fill_height = layers * 2.f * params.sphere_radius; in main() 67 …at fill_top = std::min(fill_bottom + fill_height, params.box_Z / 2.f - 2.f * params.sphere_radius); in main() 70 ChVector<float> fill_hdims(params.box_X / 2.f - boundary_padding - 2.f * params.sphere_radius, in main() 71 params.box_Y / 2.f - boundary_padding - 2.f * params.sphere_radius, in main() 74 utils::PDLayerSampler_BOX<float>(fill_center, fill_hdims, 2.f * params.sphere_radius); in main()
|
H A D | demo_GPU_balldrop.cpp | 62 double sphere_radius = 0.5f; in main() local 77 ChSystemGpu gran_sys(sphere_radius, sphere_density, ChVector<float>(box_X, box_Y, box_Z)); in main() 87 utils::PDSampler<float> sampler(2.001 * sphere_radius); in main() 89 …sampler.SampleCylinderZ(sampler_center, cyl_rad - 4 * sphere_radius, box_Z / 2 - 4 * sphere_radius… in main() 144 projectile_pos.z() = max_particle_z + sphere_radius + projectile_radius; in main()
|
H A D | demo_GPU_compression.cpp | 49 ChSystemGpu gpu_sys(params.sphere_radius, params.sphere_density, in main() 62 utils::HCPSampler<float> sampler(2.1f * params.sphere_radius); in main() 66 ChVector<float> center(params.box_X / 2, params.box_Y / 2, params.sphere_radius); in main() 68 while (center.z() + params.sphere_radius < params.box_Z) { in main() 69 auto points = sampler.SampleCylinderZ(center, cyl_rad - params.sphere_radius, 0); in main() 71 center.z() += 2.1f * params.sphere_radius; in main() 163 topWall_offset = (float)gpu_sys.GetMaxParticleZ() + params.sphere_radius - topWallPos[2]; in main()
|
H A D | demo_GPU_terrainBox_SMC.cpp | 58 params.sphere_radius = std::stof(argv[2]); in main() 63 …printf("new parameters: r is %f, run_mode is %d, width is %f, %s\n", params.sphere_radius, params.… in main() 68 ChSystemGpu gpu_sys(params.sphere_radius, params.sphere_density, in main() 98 …ector<> hdims(params.box_X / 2.f - 2 * params.sphere_radius, params.box_Y / 2.f - 2 * params.spher… in main() 99 params.box_Z / 2.f - 2 * params.sphere_radius); in main() 102 utils::HCPSampler<float> sampler(2.2f * params.sphere_radius); in main()
|
H A D | demo_GPU_repose.cpp | 51 ChSystemGpuMesh gpu_sys(params.sphere_radius, params.sphere_density, in main() 102 float spacing = fill_epsilon * params.sphere_radius; in main() 114 ChVector<float> center(0, 0, fill_bottom + params.sphere_radius); in main() 116 while (center.z() + params.sphere_radius < fill_bottom + fill_height) { in main() 119 center.z() += 2.02f * params.sphere_radius; in main() 126 …ChVector<float>(params.box_X / 2.f - params.sphere_radius, params.box_Y / 2.f - params.sphere_radi… in main()
|
H A D | demo_GPU_mixer.cpp | 61 … ChSystemGpuMesh gpu_sys(params.sphere_radius, params.sphere_density, ChVector<float>(Bx, By, Bz)); in main() 106 utils::HCPSampler<float> sampler(2.1f * params.sphere_radius); in main() 109 const float fill_radius = Bx / 2.f - 2.f * params.sphere_radius; in main() 117 center.z() += 2 * params.sphere_radius; in main() 118 while (center.z() < fill_top - 2 * params.sphere_radius) { in main() 121 center.z() += 2.1f * params.sphere_radius; in main()
|
H A D | demo_GPU_ballcosim.cpp | 73 ChVector<> ball_initial_pos(0, 0, params.box_Z / 4.0 + ball_radius + 2 * params.sphere_radius); in runBallDrop() 181 ChSystemGpuMesh gpu_sys(params.sphere_radius, params.sphere_density, in main() 195 chrono::utils::PDSampler<float> sampler(2.4f * params.sphere_radius); in main() 200 ChVector<> center(0, 0, fill_bottom + 2.0 * params.sphere_radius); in main() 204 center.z() += 3 * params.sphere_radius; in main() 210 center.z() += 2.05 * params.sphere_radius; in main()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_gpu/utils/ |
H A D | ChGpuSphereDecomp.h | 40 Real sphere_radius ///< Radius to use for all spheres in the decomposition in MeshSphericalDecomposition() argument 89 const ChVector<Real> B_star = B + (BC + BA) * sphere_radius; in MeshSphericalDecomposition() 90 const ChVector<Real> C_star = C + (CA - BC) * sphere_radius; in MeshSphericalDecomposition() 97 while ((start - end).Length() > 1.5 * sphere_radius) { in MeshSphericalDecomposition() 99 int n_spheres_across = (int)std::ceil(L / (2.0 * sphere_radius)); in MeshSphericalDecomposition() 108 start = start + (-2 * sphere_radius / BA.Dot(n)) * BA; in MeshSphericalDecomposition() 109 end = end + (-2 * sphere_radius / CA.Dot(n)) * CA; in MeshSphericalDecomposition() 121 start = start + A_starA * 2.0 * sphere_radius; in MeshSphericalDecomposition()
|
/dports/devel/vcglib/vcglib-2020.09/vcg/space/index/ |
H A D | octree.h | 360 ScalarType sphere_radius; variable 372 if (sphere_radius>max_distance) 406 ScalarType sphere_radius; variable 421 if (sphere_radius<max_distance && object_count<k) 432 if (k_distance>sphere_radius && sphere_radius<max_distance) 448 const ScalarType &sphere_radius, 457 BoundingBoxType query_bb(sphere_center, sphere_radius); 591 sphere_radius = 0.0f; in GuessInitialBoundingBox() 603 return (sphere_radius<=max_distance); in GuessInitialBoundingBox() 614 ScalarType & sphere_radius, in AdjustBoundingBox() argument [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/space/index/ |
H A D | octree.h | 360 ScalarType sphere_radius; variable 372 if (sphere_radius>max_distance) 406 ScalarType sphere_radius; variable 421 if (sphere_radius<max_distance && object_count<k) 432 if (k_distance>sphere_radius && sphere_radius<max_distance) 448 const ScalarType &sphere_radius, 457 BoundingBoxType query_bb(sphere_center, sphere_radius); 592 sphere_radius = 0.0f; in GuessInitialBoundingBox() 604 return (sphere_radius<=max_distance); in GuessInitialBoundingBox() 615 ScalarType & sphere_radius, in AdjustBoundingBox() argument [all …]
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Mesh_3/ |
H A D | Volume_plane.h | 271 mutable double sphere_radius; variable 371 sphere_radius = max_dim / 40.0f; in drawSpheres() 374 …c_spheres.push_back(0.0f); c_spheres.push_back((adim_ - 1) * yscale_/2.0f + 1.1*sphere_radius); c_… in drawSpheres() 380 …f); c_spheres.push_back(0.0f); c_spheres.push_back((bdim_ - 1) * zscale_/2.0f + 1.1*sphere_radius); in drawSpheres() 387 sphere_radius = max_dim / 40.0f; in drawSpheres() 399 sphere_radius = max_dim / 40.0f; in drawSpheres() 402 …c_spheres.push_back(0.0f); c_spheres.push_back((bdim_ - 1) * yscale_/2.0f - 1.1*sphere_radius); c_… in drawSpheres() 405 …c_spheres.push_back((adim_ - 1) * xscale_/2.0f-1.1*sphere_radius); c_spheres.push_back(0.0f); c_sp… in drawSpheres() 570 sphere_radius = max_dim/20.0f * sphere_Slider->value()/100.0f; in draw() 572 getTriangleContainer(1)->getVao(viewer)->program->setAttributeValue("radius", sphere_radius); in draw() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Shape_detection/Region_growing/Region_growing_on_point_set/ |
H A D | Sphere_neighbor_query.h | 131 const FT sphere_radius = FT(1), 134 m_sphere_radius(sphere_radius), in m_input_range() 144 CGAL_precondition(sphere_radius > FT(0)); in m_input_range()
|