- Coords rankId_to_coords(int rank_id) const;
- XBT_ATTRIB_DEPRECATED_v330("Please use rankId_to_coords(int)") void rankId_to_coords(int rank_id,
- unsigned int coords[4]) const;
+ /** @brief Checks topology parameters */
+ static void check_topology(unsigned int n_groups, unsigned int groups_links, unsigned int n_chassis,
+ unsigned int chassis_links, unsigned int n_routers, unsigned int routers_links,
+ unsigned int nodes);
+ /** @brief Set Dragonfly topology */
+ void set_topology(unsigned int n_groups, unsigned int groups_links, unsigned int n_chassis,
+ unsigned int chassis_links, unsigned int n_routers, unsigned int routers_links, unsigned int nodes);
+ /** @brief Build upper levels (routers) in Dragonfly */
+ void build_upper_levels(const s4u::ClusterCallbacks& set_callbacks);
+ /** @brief Set the characteristics of links inside the Dragonfly zone */
+ void set_link_characteristics(double bw, double lat, s4u::Link::SharingPolicy sharing_policy) override;
+ Coords rankId_to_coords(unsigned long rank_id) const;