X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9335baa2b23f940577448a84168eb0b50d3dd966..0dda9bcd2d7df2c8141a8170a7cb8fe20746b4a9:/src/smpi/smpi_topo.hpp diff --git a/src/smpi/smpi_topo.hpp b/src/smpi/smpi_topo.hpp index f4ce792510..dc04e4451d 100644 --- a/src/smpi/smpi_topo.hpp +++ b/src/smpi/smpi_topo.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2010-2017. 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. */ @@ -7,7 +6,8 @@ #ifndef SMPI_TOPO_HPP_INCLUDED #define SMPI_TOPO_HPP_INCLUDED -#include "private.h" +#include "src/smpi/smpi_comm.hpp" +#include "src/smpi/smpi_status.hpp" typedef enum MPIR_Topo_type { MPI_GRAPH=1, @@ -37,7 +37,7 @@ class Topo_Cart: public Topo { int *periodic_; int *position_; public: - Topo_Cart(int ndims); + explicit Topo_Cart(int ndims); ~Topo_Cart(); Topo_Cart(MPI_Comm comm_old, int ndims, int dims[], int periods[], int reorder, MPI_Comm *comm_cart); Topo_Cart* sub(const int remain_dims[], MPI_Comm *newcomm) ;