Home
last modified time | relevance | path

Searched refs:body_id (Results 1 – 25 of 270) sorted by relevance

1234567891011

/dports/science/chrono/chrono-7.0.1/src/chrono_multicore/constraints/
H A DChConstraintRigidRigid.cpp335 real s_v = D_t_T(index * 2 + 0, body_id.x * 6 + 0) * +v_new[body_id.x * 6 + 0] + in Build_s()
336 D_t_T(index * 2 + 0, body_id.x * 6 + 1) * +v_new[body_id.x * 6 + 1] + in Build_s()
337 D_t_T(index * 2 + 0, body_id.x * 6 + 2) * +v_new[body_id.x * 6 + 2] + in Build_s()
338 D_t_T(index * 2 + 0, body_id.x * 6 + 3) * +v_new[body_id.x * 6 + 3] + in Build_s()
339 D_t_T(index * 2 + 0, body_id.x * 6 + 4) * +v_new[body_id.x * 6 + 4] + in Build_s()
340 D_t_T(index * 2 + 0, body_id.x * 6 + 5) * +v_new[body_id.x * 6 + 5] + in Build_s()
342 D_t_T(index * 2 + 0, body_id.y * 6 + 0) * +v_new[body_id.y * 6 + 0] + in Build_s()
343 D_t_T(index * 2 + 0, body_id.y * 6 + 1) * +v_new[body_id.y * 6 + 1] + in Build_s()
344 D_t_T(index * 2 + 0, body_id.y * 6 + 2) * +v_new[body_id.y * 6 + 2] + in Build_s()
347 D_t_T(index * 2 + 0, body_id.y * 6 + 5) * +v_new[body_id.y * 6 + 5]; in Build_s()
[all …]
/dports/science/chrono/chrono-7.0.1/src/tests/unit_tests/multicore/
H A Dutest_MCORE_jacobians.cpp161 chrono::vec2 body_id = ids[index]; in CompareContacts() local
166 … Compute_Jacobian(rot_rigid[body_id.x], U, V, W, ptA[index] - pos_rigid[body_id.x], T3, T4, T5); in CompareContacts()
167 … Compute_Jacobian(rot_rigid[body_id.y], U, V, W, ptB[index] - pos_rigid[body_id.y], T6, T7, T8); in CompareContacts()
171 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.x * 6 + 0), -U.x); in CompareContacts()
172 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.x * 6 + 1), -U.y); in CompareContacts()
173 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.x * 6 + 2), -U.z); in CompareContacts()
175 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.x * 6 + 3), T3.x); in CompareContacts()
176 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.x * 6 + 4), T3.y); in CompareContacts()
179 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.y * 6 + 0), U.x); in CompareContacts()
180 ASSERT_EQ((real)data_manager->host_data.D_T(row * 1 + 0, body_id.y * 6 + 1), U.y); in CompareContacts()
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/
H A Dregionck.rs111 body_id: hir::HirId, in add_implied_bounds()
137 body_id: hir::HirId, in add_implied_bounds()
227 body_id: hir::HirId, field
316 let body_id = body.id(); in visit_fn_body() localVariable
317 self.body_id = body_id.hir_id; in visit_fn_body()
352 let body_id = body.id(); in visit_inline_const() localVariable
353 self.body_id = body_id.hir_id; in visit_inline_const()
394 let body_id = self.body_id; in constrain_bindings_in_pat() localVariable
419 body_id: hir::BodyId, in visit_fn()
562 let body_id = self.body_id; in check_safety_of_rvalue_destructor_if_necessary() localVariable
[all …]
H A Dinherited.rs59 pub(super) body_id: Option<hir::BodyId>, field
117 let body_id = tcx.hir().maybe_body_owned_by(item_id); in with_constness() localVariable
132 body_id, in with_constness()
161 body_id: hir::HirId, in normalize_associated_types_in()
169 ObligationCause::misc(span, body_id), in normalize_associated_types_in()
/dports/science/elmerfem/elmerfem-release-9.0/fem/tests/levelset2/
H A DMyStuff.f909 INTEGER :: i,j,k,n, body_id local
18 body_id = Model % CurrentElement % Bodyid
19 k = ListGetInteger( Model % Bodies( body_id ) % Values, 'Material' )
48 INTEGER :: i,j,k,n, body_id local
57 body_id = Model % CurrentElement % Bodyid
58 k = ListGetInteger( Model % Bodies( body_id ) % Values, 'Material' )
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/unittests/
H A DuserDataTest.py30 body_id = self.client.loadURDF(OBJECT_WITH_USER_DATA_PATH)
31 self.client.syncUserData(body_id)
32 num_user_data = self.client.getNumUserData(body_id)
45 info = self.client.getUserDataInfo(body_id, user_data_index)
220 body_id = self.client.loadURDF(ROBOT_PATH)
221 num_links = self.client.getNumJoints(body_id)
232 uid1 = self.client.getUserDataId(body_id, "MyKey1", link_index)
233 uid2 = self.client.getUserDataId(body_id, "MyKey2", link_index)
265 body_id = self.client.loadURDF(ROBOT_PATH)
266 num_links = self.client.getNumJoints(body_id)
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/error_reporting/
H A Don_unimplemented.rs83 hir::Node::Item(hir::Item { kind: hir::ItemKind::Fn(sig, _, body_id), .. }) => { in describe_enclosure()
84 self.describe_generator(*body_id).or_else(|| { in describe_enclosure()
92 kind: hir::TraitItemKind::Fn(_, hir::TraitFn::Provided(body_id)), in describe_enclosure()
94 }) => self.describe_generator(*body_id).or_else(|| Some("a trait method")), in describe_enclosure()
96 kind: hir::ImplItemKind::Fn(sig, body_id), in describe_enclosure()
98 }) => self.describe_generator(*body_id).or_else(|| { in describe_enclosure()
105 kind: hir::ExprKind::Closure(_is_move, _, body_id, _, gen_movability), in describe_enclosure()
107 }) => self.describe_generator(*body_id).or_else(|| { in describe_enclosure()
129 self.describe_enclosure(obligation.cause.body_id).map(|s| s.to_owned()), in on_unimplemented_note()
/dports/science/elmerfem/elmerfem-release-9.0/fem/tests/LevelsetFallingDrop/
H A DDropStuff.F9043 INTEGER :: i,j,k,n, body_id local
52 body_id = Model % CurrentElement % Bodyid
53 k = ListGetInteger( Model % Bodies( body_id ) % Values, 'Material' )
82 INTEGER :: i,j,k,n, body_id local
91 body_id = Model % CurrentElement % Bodyid
92 k = ListGetInteger( Model % Bodies( body_id ) % Values, 'Material' )
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/sightglass/src/
H A Dbench.rs106 fn body(&self, body_id: usize) { in body()
107 unsafe { (self.bodies[body_id])(self.ctx) } in body()
116 fns.push(Box::new(move |body_id| this.body(body_id))) in bodies()
168 for (body_id, body) in bodies.iter().enumerate() { in bench()
170 body(body_id); in bench()
172 elapsed_vec[body_id] += ts_end - ts_start; in bench()
176 for (body_id, elapsed) in elapsed_vec.into_iter().enumerate() { in bench()
177 samples[body_id] in bench()
260 for (body_id, body) in (*test).bodies.iter().enumerate() { in run_test()
263 summary: bench_result.summaries[body_id].clone(), in run_test()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dnon_copy_const.rs180 fn is_value_unfrozen_poly<'tcx>(cx: &LateContext<'tcx>, body_id: BodyId, ty: Ty<'tcx>) -> bool { in is_value_unfrozen_poly()
181 let result = cx.tcx.const_eval_poly(body_id.hir_id.owner.to_def_id()); in is_value_unfrozen_poly()
244 if let ItemKind::Const(hir_ty, body_id) = it.kind { in check_item()
247 if is_unfrozen(cx, ty) && is_value_unfrozen_poly(cx, body_id, ty) { in check_item()
273 … && body_id_opt.map_or(true, |body_id| is_value_unfrozen_poly(cx, body_id, normalized)) in check_trait_item()
281 if let ImplItemKind::Const(hir_ty, body_id) = &impl_item.kind { in check_impl_item()
315 if is_value_unfrozen_poly(cx, *body_id, normalized); in check_impl_item()
331 if is_unfrozen(cx, ty) && is_value_unfrozen_poly(cx, *body_id, normalized) { in check_impl_item()
/dports/science/chrono/chrono-7.0.1/src/chrono_multicore/physics/
H A DChSystemMulticoreNSC.cpp123 real3 ChSystemMulticoreNSC::GetBodyContactForce(uint body_id) const { in GetBodyContactForce()
125 …return real3(data_manager->host_data.Fc[body_id * 6 + 0], data_manager->host_data.Fc[body_id * 6 +… in GetBodyContactForce()
126 data_manager->host_data.Fc[body_id * 6 + 2]); in GetBodyContactForce()
129 real3 ChSystemMulticoreNSC::GetBodyContactTorque(uint body_id) const { in GetBodyContactTorque()
131 …return real3(data_manager->host_data.Fc[body_id * 6 + 3], data_manager->host_data.Fc[body_id * 6 +… in GetBodyContactTorque()
132 data_manager->host_data.Fc[body_id * 6 + 5]); in GetBodyContactTorque()
H A DChSystemMulticore.h141 virtual real3 GetBodyContactForce(uint body_id) const = 0;
146 virtual real3 GetBodyContactTorque(uint body_id) const = 0;
234 virtual real3 GetBodyContactForce(uint body_id) const override;
235 virtual real3 GetBodyContactTorque(uint body_id) const override;
264 virtual real3 GetBodyContactForce(uint body_id) const override;
265 virtual real3 GetBodyContactTorque(uint body_id) const override;
H A DCh3DOFContainer.h86 virtual real3 GetBodyContactForce(uint body_id) { return real3(0); } in GetBodyContactForce() argument
87 virtual real3 GetBodyContactTorque(uint body_id) { return real3(0); } in GetBodyContactTorque() argument
159 virtual real3 GetBodyContactForce(uint body_id) override;
160 virtual real3 GetBodyContactTorque(uint body_id) override;
226 virtual real3 GetBodyContactForce(uint body_id) override;
227 virtual real3 GetBodyContactTorque(uint body_id) override;
H A DChSystemMulticoreSMC.cpp80 real3 ChSystemMulticoreSMC::GetBodyContactForce(uint body_id) const { in GetBodyContactForce()
81 int index = data_manager->host_data.ct_body_map[body_id]; in GetBodyContactForce()
89 real3 ChSystemMulticoreSMC::GetBodyContactTorque(uint body_id) const { in GetBodyContactTorque()
90 int index = data_manager->host_data.ct_body_map[body_id]; in GetBodyContactTorque()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/build/
H A Dmod.rs65 (*body_id, decl.output.span(), None) in mir_build()
84 (*body_id, decl.output.span(), Some(*span)) in mir_build()
87 kind: hir::ItemKind::Static(ty, _, body_id) | hir::ItemKind::Const(ty, body_id), in mir_build()
92 kind: hir::TraitItemKind::Const(ty, Some(body_id)), in mir_build()
94 }) => (*body_id, ty.span, None), in mir_build()
120 let body = tcx.hir().body(body_id); in mir_build()
152 let owner_id = tcx.hir().body_owner(body_id); in mir_build()
189 let gen_ty = tcx.typeck_body(body_id).node_type(id); in mir_build()
265 body_id: hir::BodyId, in liberated_closure_env_ty()
716 body_id: hir::BodyId, in construct_error()
[all …]
/dports/science/elmerfem/elmerfem-release-9.0/fem/src/modules/
H A DElectrokinetics.F90207 INTEGER :: i, N, DIM, istat, body_id, material_id, eq_id, other_body_id,& local
293 body_id = ParentElement % BodyId
294 material_id = ListGetInteger(Model % Bodies(body_id) % Values, 'Material', GotIt)
299 eq_id = ListGetInteger( Model % Bodies(body_id) % Values,'Equation', &
453 INTEGER :: i, body_id, material_id, eq_id, DIM local
475 body_id = Model % CurrentElement % BodyId
476 eq_id = ListGetInteger( Model % Bodies(body_id) % Values,'Equation')
477 material_id = ListGetInteger( Model % Bodies(body_id) % Values, 'Material')
480 WRITE(Message, '(a,i3)' )'No Material found for body-id ', body_id
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/outlives/
H A Dobligations.rs85 body_id: hir::HirId, in register_region_obligation()
88 debug!("register_region_obligation(body_id={:?}, obligation={:?})", body_id, obligation); in register_region_obligation()
92 inner.region_obligations.push((body_id, obligation)); in register_region_obligation()
113 cause.body_id, in register_region_obligation_with_cause()
171 for (body_id, RegionObligation { sup_type, sub_region, origin }) in my_region_obligations { in process_registered_region_obligations()
179 if let Some(region_bound_pairs) = region_bound_pairs_map.get(&body_id) { in process_registered_region_obligations()
191 &format!("no region-bound-pairs for {:?}", body_id), in process_registered_region_obligations()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/chrono/
H A DChCollisionUtilsBroadphase.cpp99 const std::vector<uint>& body_id, in f_Count_AABB_AABB_Intersection() argument
114 uint bodyA = body_id[shapeA]; in f_Count_AABB_AABB_Intersection()
123 uint bodyB = body_id[shapeB]; in f_Count_AABB_AABB_Intersection()
163 const std::vector<uint>& body_id, in f_Store_AABB_AABB_Intersection() argument
179 uint bodyA = body_id[shapeA]; in f_Store_AABB_AABB_Intersection()
188 uint bodyB = body_id[shapeB]; in f_Store_AABB_AABB_Intersection()
/dports/science/elmerfem/elmerfem-release-9.0/fem/src/modules/ResultOutputSolve/
H A DGidOutputSolver.F9051 INTEGER :: i,j,k,m,n,dim, Code, body_id, ElementCounter, Nloop, Loop, ExtCount local
209 body_id = Element % BodyId
217 Element % NodeIndexes(PyramidMap613(m,:)), body_id
225 Element % NodeIndexes(PyramidMap605(m,:)), body_id
233 Element % NodeIndexes(WedgeMap706(m,:)), body_id
241 Element % NodeIndexes(WedgeMap715(m,:)), body_id
247 WRITE(GidUnit,'(100I10)') ElementCounter, Element % NodeIndexes, body_id
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/outlives/
H A Doutlives_bounds.rs16 body_id: hir::HirId, in implied_outlives_bounds()
47 body_id: hir::HirId, in implied_outlives_bounds()
68 &ObligationCause::misc(span, body_id), in implied_outlives_bounds()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/collect/
H A Dtype_of.rs316 TraitItemKind::Const(ty, body_id) => body_id in type_of()
317 .and_then(|body_id| { in type_of()
320 tcx, def_id, body_id, ty.span, item.ident, "constant", in type_of()
338 ImplItemKind::Const(ty, body_id) => { in type_of()
356 ItemKind::Static(ty, .., body_id) => { in type_of()
361 body_id, in type_of()
370 ItemKind::Const(ty, body_id) => { in type_of()
710 body_id: hir::BodyId, in infer_placeholder_type()
749 let ty = tcx.diagnostic_only_typeck(def_id).node_type(body_id.hir_id); in infer_placeholder_type()
775 tcx.hir().body(body_id).value.span, in infer_placeholder_type()
[all …]
/dports/devel/horde-whups/whups-3.0.12/lib/
H A DMail.php96 $body_id = $message->findBody();
97 if ($body_id) {
98 $part = $message->getPart($body_id);
165 if (($key == $body_id && $part->getType() == 'text/plain') ||
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/
H A Dopaque_types.rs86 body_id: hir::HirId, in instantiate_opaque_types()
94 value, body_id, param_env, value_span, in instantiate_opaque_types()
97 Instantiator { infcx: self, body_id, param_env, value_span, obligations: vec![] }; in instantiate_opaque_types()
412 body_id: hir::HirId, field
565 traits::ObligationCause::misc(self.value_span, self.body_id), in fold_opaque_ty()
588 traits::ObligationCause::new(self.value_span, self.body_id, traits::OpaqueType); in fold_opaque_ty()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_lint/src/
H A Dlate.rs106 fn visit_nested_body(&mut self, body_id: hir::BodyId) { in visit_nested_body()
107 let old_enclosing_body = self.context.enclosing_body.replace(body_id); in visit_nested_body()
113 if old_enclosing_body != Some(body_id) { in visit_nested_body()
117 let body = self.context.tcx.hir().body(body_id); in visit_nested_body()
122 if old_enclosing_body != Some(body_id) { in visit_nested_body()
193 body_id: hir::BodyId, in visit_fn()
199 let old_enclosing_body = self.context.enclosing_body.replace(body_id); in visit_fn()
201 let body = self.context.tcx.hir().body(body_id); in visit_fn()
203 hir_visit::walk_fn(self, fk, decl, body_id, span, id); in visit_fn()
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/shower_of_bullets/
H A Dshower.gd12 func _on_player_body_enter_shape(body_id, body, body_shape, area_shape):
18 func _on_player_body_exit_shape(body_id, body, body_shape, area_shape):

1234567891011