Home
last modified time | relevance | path

Searched refs:id_rigid (Results 1 – 8 of 8) sorted by relevance

/dports/science/chrono/chrono-7.0.1/src/chrono_distributed/collision/
H A DChCollisionSystemDistributed.cpp163 for (int j = 0; j < shape_data.id_rigid.size(); j++) { in Add()
165 if (shape_data.id_rigid[j] == UINT_MAX && in Add()
183 shape_data.id_rigid[j] = body_index; in Add()
244 …ddm->body_shapes[begin_shapes] = static_cast<int>(shape_data.id_rigid.size()) - needed_count + i; … in Add()
452 ddm->data_manager->cd_data->shape_data.id_rigid[ddm->body_shapes[index]] = UINT_MAX; in Remove()
520 auto id_rigid = ddm->data_manager->cd_data->shape_data.id_rigid[i]; in GetOverlappingAABB() local
521 if (id_rigid == UINT_MAX) { in GetOverlappingAABB()
530 active_id[id_rigid] = true; in GetOverlappingAABB()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/chrono/
H A DChBroadphase.cpp87 const std::vector<uint>& id_rigid = cd_data->shape_data.id_rigid; in RigidBoundingBox() local
94 …hrust::make_zip_iterator(thrust::make_tuple(aabb_min.begin(), aabb_max.begin(), id_rigid.begin())); in RigidBoundingBox()
95 …nd = thrust::make_zip_iterator(thrust::make_tuple(aabb_min.end(), aabb_max.end(), id_rigid.end())); in RigidBoundingBox()
229 const std::vector<uint>& obj_data_id = cd_data->shape_data.id_rigid; in OneLevelBroadphase()
H A DChNarrowphase.cpp160 const std::vector<uint>& obj_data_ID = cd_data->shape_data.id_rigid; in PreprocessLocalToParent()
204 const std::vector<uint>& obj_data_ID = cd_data->shape_data.id_rigid; in Dispatch_Init()
634 uint bodyA = cd_data->shape_data.id_rigid[shape_id_a]; in ProcessRigidFluid()
646 uint bodyA = cd_data->shape_data.id_rigid[shape_id_a]; in ProcessRigidFluid()
H A DChCollisionData.h40 std::vector<uint> id_rigid; ///< ID of associated body member
/dports/science/chrono/chrono-7.0.1/src/tests/unit_tests/multicore/
H A Dutest_MCORE_collision_system.cpp60 …f (count != data_manager->shape_data.id_rigid.size()) { std::cout << "id_rigid" << data_manager->s… in check_collisionsystemcount()
/dports/science/chrono/chrono-7.0.1/src/chrono_distributed/physics/
H A DChSystemDistributed.cpp86 data_manager->cd_data->shape_data.id_rigid.reserve(init); in ChSystemDistributed()
382 …printf("%d | NumShapes: %lu NumBodies: %d\n", my_rank, (unsigned long)shape_data.id_rigid.size(), … in PrintShapeData()
399 for (int i = 0; i < shape_data.id_rigid.size(); i++) { in PrintEfficiency()
400 if (shape_data.id_rigid[i] != UINT_MAX) { in PrintEfficiency()
405 shapes_used = shapes_used / shape_data.id_rigid.size(); in PrintEfficiency()
451 for (auto itr = shape_data.id_rigid.begin(); itr != shape_data.id_rigid.end(); itr++) { in SanityCheck()
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/
H A DChCollisionSystemChrono.cpp196 shape_data.id_rigid.push_back(body_id); in Add()
517 const std::vector<uint>& id_rigid = cd_data->shape_data.id_rigid; in GenerateAABB() local
539 uint id = id_rigid[index]; // The rigid body corresponding to this shape in GenerateAABB()
613 active_id[cd_data->shape_data.id_rigid[i]] = true; in GetOverlappingAABB()
646 uint bid = cd_data->shape_data.id_rigid[info.shapeID]; in RayHit()
/dports/science/chrono/chrono-7.0.1/src/chrono_multicore/physics/
H A DChSystemMulticore.cpp754 auto& id_rigid = data_manager->cd_data->shape_data.id_rigid; in CalculateBodyAABB() local
764 uint ib = id_rigid[is]; in CalculateBodyAABB()