Exemplo n.º 1
0
 def __len__(self):
     if self == _mpi.COMM_NULL:
         return 0
     elif _mpi.comm_test_inter(self):
         return _mpi.comm_remote_size(self)
     else:
         return _mpi.comm_size(self)
Exemplo n.º 2
0
 def __len__(self):
     if self == _mpi.COMM_NULL:
         return 0
     elif _mpi.comm_test_inter(self):
         return _mpi.comm_remote_size(self)
     else:
         return _mpi.comm_size(self)
Exemplo n.º 3
0
 def Get_remote_size(self):
     return _mpi.comm_remote_size(self)
Exemplo n.º 4
0
 def Get_remote_size(self):
     return _mpi.comm_remote_size(self)