Package mpi4py :: Module MPI :: Class Graphcomm
[hide private]
[frames] | no frames]

type Graphcomm


General graph topology intracommunicator
Instance Methods [hide private]
 
Get_dims(self)
Return the number of nodes and edges
 
Get_neighbors(self, int rank)
Return list of neighbors of a process
 
Get_neighbors_count(self, int rank)
Return number of neighbors of a process
 
Get_topo(self)
Return index and edges
a new object with type S, a subtype of T
__new__(S, ...)

Inherited from Topocomm: Ineighbor_allgather, Ineighbor_allgatherv, Ineighbor_alltoall, Ineighbor_alltoallv, Ineighbor_alltoallw, Neighbor_allgather, Neighbor_allgatherv, Neighbor_alltoall, Neighbor_alltoallv, Neighbor_alltoallw, neighbor_allgather, neighbor_alltoall

Inherited from Intracomm: Accept, Cart_map, Connect, Create_cart, Create_dist_graph, Create_dist_graph_adjacent, Create_graph, Create_intercomm, Exscan, Graph_map, Iexscan, Iscan, Scan, Spawn, Spawn_multiple, exscan, scan

Inherited from Comm: Abort, Allgather, Allgatherv, Allreduce, Alltoall, Alltoallv, Alltoallw, Barrier, Bcast, Bsend, Bsend_init, Call_errhandler, Clone, Compare, Create, Create_group, Create_keyval, Delete_attr, Disconnect, Dup, Dup_with_info, Free, Free_keyval, Gather, Gatherv, Get_attr, Get_errhandler, Get_group, Get_info, Get_name, Get_parent, Get_rank, Get_size, Get_topology, Iallgather, Iallgatherv, Iallreduce, Ialltoall, Ialltoallv, Ialltoallw, Ibarrier, Ibcast, Ibsend, Idup, Igather, Igatherv, Improbe, Iprobe, Irecv, Ireduce, Ireduce_scatter, Ireduce_scatter_block, Irsend, Is_inter, Is_intra, Iscatter, Iscatterv, Isend, Issend, Join, Mprobe, Probe, Recv, Recv_init, Reduce, Reduce_scatter, Reduce_scatter_block, Rsend, Rsend_init, Scatter, Scatterv, Send, Send_init, Sendrecv, Sendrecv_replace, Set_attr, Set_errhandler, Set_info, Set_name, Split, Split_type, Ssend, Ssend_init, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, allgather, allreduce, alltoall, barrier, bcast, bsend, f2py, gather, ibsend, improbe, iprobe, irecv, isend, issend, mprobe, probe, py2f, recv, reduce, scatter, send, sendrecv, ssend

Properties [hide private]
  dims
number of nodes and edges
  edges
edges
  index
index
  nedges
number of edges
  neighbors
neighbors
  nneighbors
number of neighbors
  nnodes
number of nodes
  topo
topology information

Inherited from Topocomm: degrees, indegree, inedges, inoutedges, outdegree, outedges

Inherited from Comm: group, info, is_inter, is_intra, is_topo, name, rank, size, topology

Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: Comm.__new__