A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[doc] Add todo about user .then()
[simgrid.git]
/
src
/
surf
/
AsClusterTorus.cpp
diff --git
a/src/surf/AsClusterTorus.cpp
b/src/surf/AsClusterTorus.cpp
index
d53146e
..
acf6ebf
100644
(file)
--- a/
src/surf/AsClusterTorus.cpp
+++ b/
src/surf/AsClusterTorus.cpp
@@
-25,7
+25,7
@@
inline unsigned int *rankId_to_coords(int rankId, xbt_dynar_t dimensions)
namespace simgrid {
namespace simgrid {
- namespace
surf
{
+ namespace
routing
{
AsClusterTorus::AsClusterTorus(const char*name)
: AsCluster(name) {
}
AsClusterTorus::AsClusterTorus(const char*name)
: AsCluster(name) {
}
@@
-91,7
+91,7
@@
namespace simgrid {
xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ",");
if (!xbt_dynar_is_empty(dimensions)) {
xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ",");
if (!xbt_dynar_is_empty(dimensions)) {
- dimensions_ = xbt_dynar_new(sizeof(int),
NULL
);
+ dimensions_ = xbt_dynar_new(sizeof(int),
nullptr
);
/* We are in a torus cluster
* Parse attribute dimensions="dim1,dim2,dim3,...,dimN"
* and safe it in a dynarray.
/* We are in a torus cluster
* Parse attribute dimensions="dim1,dim2,dim3,...,dimN"
* and safe it in a dynarray.