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

type Cartcomm


Cartesian topology intracommunicator
Instance Methods [hide private]
 
Get_cart_rank(self, coords)
Translate logical coordinates to ranks
 
Get_coords(self, int rank)
Translate ranks to logical coordinates
 
Get_dim(self)
Return number of dimensions
 
Get_topo(self)
Return information on the cartesian topology
 
Shift(self, int direction, int disp)
Return a tuple (source,dest) of process ranks for data shifting with Comm.Sendrecv()
 
Sub(self, remain_dims)
Return cartesian communicators that form lower-dimensional subgrids
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]
  coords
coordinates
  dim
number of dimensions
  dims
dimensions
  ndim
number of dimensions
  periods
periodicity
  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__