-/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
-#define SURF_ROUTING_CLUSTER_TORUS_HPP_
+#ifndef SIMGRID_ROUTING_CLUSTER_TORUS_HPP_
+#define SIMGRID_ROUTING_CLUSTER_TORUS_HPP_
#include <simgrid/kernel/routing/ClusterZone.hpp>
public:
explicit TorusZone(const std::string& name) : ClusterBase(name){};
- void create_torus_links(int id, int rank, unsigned long position);
+ void create_torus_links(unsigned long id, int rank, unsigned long position);
void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override;
void set_topology(const std::vector<unsigned long>& dimensions);