Update of /cvsroot/boost/boost/boost/mpi
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2918/boost/mpi

Modified Files:
        communicator.hpp graph_topology.hpp 
Log Message:
Document graph topologies, implement layer over MPI_Topo_test

Index: communicator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpi/communicator.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- communicator.hpp    1 Jun 2007 16:56:43 -0000       1.5
+++ communicator.hpp    1 Jun 2007 18:22:00 -0000       1.6
@@ -767,6 +767,21 @@
   communicator split(int color, int key) const;
 
   /**
+   * Determines whether this communicator has a Cartesian topology.
+   */
+  bool has_cartesian_topology() const;
+
+  /**
+   *  Determines whether this communicator has a graph topology. If
+   *  the communicator does have a graph topology, the communicator
+   *  itself can be viewed as a graph by the algorithms in the Boost
+   *  Graph Library. The communicator then meets the requirements of
+   *  the @c Graph, @c Incidence Graph, @c Adjacency Graph, @c Vertex
+   *  List Graph, and @c Edge List Graph concepts.
+   */
+  bool has_graph_topology() const;
+
+  /**
    *  Create a new communicator whose topology is described by the
    *  given graph. The vertex index map (@p index) gives the mapping
    *  from vertices in the graph to ranks within the

Index: graph_topology.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpi/graph_topology.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- graph_topology.hpp  1 Jun 2007 16:56:43 -0000       1.1
+++ graph_topology.hpp  1 Jun 2007 18:22:00 -0000       1.2
@@ -377,6 +377,10 @@
   { 
   };
 
+  /**
+   * @brief Returns a vertex descriptor that can never refer to any
+   * valid vertex.
+   */
   static vertex_descriptor null_vertex() { return -1; }
 
   // Incidence Graph requirements
@@ -396,6 +400,10 @@
 };
 
 // Property Graph requirements
+
+/**
+ * INTERNAL ONLY
+ */
 template<>
 struct property_map<mpi::communicator, vertex_index_t>
 {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to