}
void AsClusterTorus::create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) {
}
void AsClusterTorus::create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) {
dim_product = 1; // Needed to calculate the next neighbour_id
for (j = 0; j < xbt_dynar_length(dimensions_); j++) {
dim_product = 1; // Needed to calculate the next neighbour_id
for (j = 0; j < xbt_dynar_length(dimensions_); j++) {
memset(&link, 0, sizeof(link));
current_dimension = xbt_dynar_get_as(dimensions_, j, int);
neighbour_rank_id =
memset(&link, 0, sizeof(link));
current_dimension = xbt_dynar_get_as(dimensions_, j, int);
neighbour_rank_id =