

Public Member Functions | |
| def | __init__ |
| def | getRank |
| def | getSize |
| def | barrier |
| def | reduceAllAndScatter |
| def | send |
| def | ssend |
| def | receive |
| def | duplicate |
| def | split |
| def | createSubcommunicator |
| def | broadcast |
| def | gatherAll |
| def | reduceAll |
| def | scan |
| def | __str__ |
Proxy of C++ Teuchos::Comm<(long)> class
| def PyTrilinos.Teuchos.Comm_long.__str__ | ( | self, | |
| args | |||
| ) |
__str__(Comm_long self) -> std::string
| def PyTrilinos.Teuchos.Comm_long.barrier | ( | self, | |
| args | |||
| ) |
barrier(Comm_long self)
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.broadcast | ( | self, | |
| args | |||
| ) |
broadcast(self, int rootRank, numpy.ndarray buffer) Broadcast the contents of buffer from processor rootRank to all of the other processors. Argument buffer must be a numpy array, so that the broadcast can be performed in-place. Its scalar data type can be any numerical type supported by numpy.
| def PyTrilinos.Teuchos.Comm_long.createSubcommunicator | ( | self, | |
| args | |||
| ) |
createSubcommunicator(Comm_long self, ArrayView< int const > const & ranks) -> Teuchos::RCP< Teuchos::Comm< long > >
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.duplicate | ( | self, | |
| args | |||
| ) |
duplicate(Comm_long self) -> Teuchos::RCP< Teuchos::Comm< long > >
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.gatherAll | ( | self, | |
| args | |||
| ) |
gatherAll(self, buffer) -> numpy.ndarray Gather the contents of buffer to all of the processors. Argument buffer can be a numpy array or any sequence that can be converted to a numpy array. Its scalar data type can be any numerical type supported by numpy. The return argument is a numpy array of the same type.
| def PyTrilinos.Teuchos.Comm_long.getRank | ( | self, | |
| args | |||
| ) |
getRank(Comm_long self) -> int
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.getSize | ( | self, | |
| args | |||
| ) |
getSize(Comm_long self) -> int
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.receive | ( | self, | |
| args | |||
| ) |
receive(Comm_long self, int const sourceRank, long const bytes, char [] recvBuffer) -> int
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.reduceAll | ( | self, | |
| args | |||
| ) |
scan(EReductionType reductOp, buffer) -> numpy.ndarray Return the scan of the contents of buffer according to the operation designated by reductOp on each of the processors. Argument reductOp can be Teuchos.REDUCE_SUM, Teuchos.REDUCE_MAX, or Teuchos.REDUCE_MIN. Argument buffer can be a numpy array or any sequence that can be converted to a numpy array. Its scalar data type can be any numerical type supported by numpy. The return argument is a numpy array of the same type.
| def PyTrilinos.Teuchos.Comm_long.reduceAllAndScatter | ( | self, | |
| args | |||
| ) |
reduceAllAndScatter(Comm_long self, Teuchos::ValueTypeReductionOp< long,char > const & reductOp, long const sendBytes,
char const [] sendBuffer, long const [] recvCounts, char [] myGlobalReducts)
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.scan | ( | self, | |
| args | |||
| ) |
scan(Comm_long self, Teuchos::EReductionType reductOp, PyObject * sendObj) -> PyObject *
| def PyTrilinos.Teuchos.Comm_long.send | ( | self, | |
| args | |||
| ) |
send(Comm_long self, long const bytes, char const [] sendBuffer, int const destRank)
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.split | ( | self, | |
| args | |||
| ) |
split(Comm_long self, int const color, int const key) -> Teuchos::RCP< Teuchos::Comm< long > >
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
| def PyTrilinos.Teuchos.Comm_long.ssend | ( | self, | |
| args | |||
| ) |
ssend(Comm_long self, long const bytes, char const [] sendBuffer, int const destRank)
Reimplemented in PyTrilinos.Teuchos.MpiComm_long, and PyTrilinos.Teuchos.SerialComm_long.
1.7.6.1