PyTrilinos  Development
 All Classes Functions
Public Member Functions
PyTrilinos.NOX.Epetra.Comm Class Reference
Inheritance diagram for PyTrilinos.NOX.Epetra.Comm:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.NOX.Epetra.Comm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def Clone
def Barrier
def MyPID
def NumProc
def CreateDistributor
def CreateDirectory
def PrintInfo
def Broadcast
def GatherAll
def SumAll
def MaxAll
def MinAll
def ScanSum

Detailed Description

Proxy of C++ Epetra_Comm class

Member Function Documentation

def PyTrilinos.NOX.Epetra.Comm.Barrier (   self,
  args 
)
Barrier(Comm self)

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.Broadcast (   self,
  args 
)
Broadcast(self, numpy.ndarray myObj, int root)

Argument myObj must be a numpy array, so that the Broadcast can be
performed in-place.  Its scalar data type must be int, long, double or
string.  In C++, this routine has an integer error return code.  In
python, a non-zero return code is converted to an exception.
def PyTrilinos.NOX.Epetra.Comm.Clone (   self,
  args 
)
Clone(Comm self) -> Comm

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.CreateDirectory (   self,
  args 
)
CreateDirectory(Comm self, BlockMap Map) -> Directory

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

CreateDistributor(Comm self) -> Distributor

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.GatherAll (   self,
  args 
)
GatherAll(Comm self, PyObject * myObj) -> PyObject *

Argument myObj can be a numpy array or any sequence that can be
converted to a numpy array.  Its scalar data type must be int, long or
double.  The return argument is a numpy array of the same type.  In
C++, this routine has an integer error return code.  In python, a
non-zero return code is converted to an exception.
def PyTrilinos.NOX.Epetra.Comm.MaxAll (   self,
  args 
)
MaxAll(Comm self, PyObject * partialObj) -> PyObject *

Argument myObj can be a numpy array or any sequence that can be
converted to a numpy array.  Its scalar data type must be int, long or
double.  The return argument is a numpy array of the same type.  In
C++, this routine has an integer error return code.  In python, a
non-zero return code is converted to an exception.
def PyTrilinos.NOX.Epetra.Comm.MinAll (   self,
  args 
)
MinAll(Comm self, PyObject * partialObj) -> PyObject *

Argument myObj can be a numpy array or any sequence that can be
converted to a numpy array.  Its scalar data type must be int, long or
double.  The return argument is a numpy array of the same type.  In
C++, this routine has an integer error return code.  In python, a
non-zero return code is converted to an exception.
def PyTrilinos.NOX.Epetra.Comm.MyPID (   self,
  args 
)
MyPID(Comm self) -> int

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.NumProc (   self,
  args 
)
NumProc(Comm self) -> int

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.PrintInfo (   self,
  args 
)
PrintInfo(Comm self, ostream & os)

Reimplemented in PyTrilinos.NOX.Epetra.MpiComm, and PyTrilinos.NOX.Epetra.SerialComm.

def PyTrilinos.NOX.Epetra.Comm.ScanSum (   self,
  args 
)
ScanSum(Comm self, PyObject * partialObj) -> PyObject *

Argument myObj can be a numpy array or any sequence that can be
converted to a numpy array.  Its scalar data type must be int, long or
double.  The return argument is a numpy array of the same type.  In
C++, this routine has an integer error return code.  In python, a
non-zero return code is converted to an exception.
def PyTrilinos.NOX.Epetra.Comm.SumAll (   self,
  args 
)
SumAll(Comm self, PyObject * partialObj) -> PyObject *

Argument myObj can be a numpy array or any sequence that can be
converted to a numpy array.  Its scalar data type must be int, long or
double.  The return argument is a numpy array of the same type.  In
C++, this routine has an integer error return code.  In python, a
non-zero return code is converted to an exception.

The documentation for this class was generated from the following file:
 All Classes Functions