void SideConnector::connect_side_to_all_elements(stk::mesh::Entity sideEntity, stk::mesh::Entity elemEntity, int elemSide) { connect_side_to_elem(sideEntity, elemEntity, elemSide); stk::mesh::impl::LocalId elemLocalId = m_entity_to_local_id[elemEntity.local_offset()]; connect_side_to_coincident_elements(sideEntity, elemLocalId, elemSide); connect_side_to_adjacent_elements(sideEntity, elemLocalId, elemSide); }
KOKKOS_INLINE_FUNCTION unsigned get_bucket_id(stk::mesh::Entity entity) const { const stk::mesh::FastMeshIndex& meshIndex = constMeshIndices(entity.local_offset()); return meshIndex.bucket_id; }
STK_FUNCTION unsigned get_index(stk::mesh::Entity entity) const { const stk::mesh::FastMeshIndex& meshIndex = constMeshIndices(entity.local_offset()); return meshIndex.bucket_id * bucketCapacity + meshIndex.bucket_ord; }