PyTrilinos::Epetra::IntVector Class Reference

Inheritance diagram for PyTrilinos::Epetra::IntVector:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::Epetra::IntVector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __init__
def __initArray__
def __str__
def __lt__
def __le__
def __eq__
def __ne__
def __gt__
def __ge__
def __getattr__
def __setattr__
def __init__
def __init__
def __initArray__
def __str__
def __lt__
def __le__
def __eq__
def __ne__
def __gt__
def __ge__
def __getattr__
def __setattr__

Public Attributes

 this


Detailed Description

Proxy of C++ IntVector class

Epetra.IntVector: A class for constructing and using dense integer vectors
on a parallel computer.

The Epetra.IntVector class enables the construction and use of integer dense
vectors in a distributed memory environment. The distribution of the dense
vector is determined in part by a Epetra.Comm object and a Epetra.Map (or
Epetra.LocalMap or Epetra.BlockMap).

Distributed Global vs. Replicated Local Distributed Global Vectors -
In most instances, a multi-vector will be partitioned across multiple
memory images associated with multiple processors. In this case, there
is a unique copy of each element and elements are spread across all
processors specified by the Epetra.Comm communicator.

Replicated Local Vectors - Some algorithms use vectors that are too
small to be distributed across all processors. Replicated local
vectors handle these types of situation.

In the python implementation, the IntVector stores an underlying numpy
array, with which it shares the data buffer.  Also, almost all numpy array
methods and operators are supported.

Member Function Documentation

def PyTrilinos::Epetra::IntVector::__eq__ (   self,
  other 
)

__eq__(self, other) -> bool

Equal operator (==).

def PyTrilinos::Epetra::IntVector::__eq__ (   self,
  other 
)

__eq__(self, other) -> bool

Equal operator (==).

def PyTrilinos::Epetra::IntVector::__ge__ (   self,
  other 
)

__ge__(self, other) -> bool

Greater-than-or-equal operator (>=).

def PyTrilinos::Epetra::IntVector::__ge__ (   self,
  other 
)

__ge__(self, other) -> bool

Greater-than-or-equal operator (>=).

def PyTrilinos::Epetra::IntVector::__gt__ (   self,
  other 
)

__gt__(self, other) -> bool

Greater-than operator (>).

def PyTrilinos::Epetra::IntVector::__gt__ (   self,
  other 
)

__gt__(self, other) -> bool

Greater-than operator (>).

def PyTrilinos::Epetra::IntVector::__init__ (   self,
  args 
)

__init__(self, BlockMap map, bool zeroOut=True) -> IntVector
__init__(self, IntVector source) -> IntVector
__init__(self, BlockMap map, PyObject array) -> IntVector
__init__(self, PyObject array) -> IntVector

Arguments:
    map      - BlockMap describing domain decomposition
    zeroOut  - Flag controlling whether to initialize IntVector to 0
    source   - Source IntVector for copy constructor
    array    - Python sequence that can be converted to a numpy array of
       integers for initialization

Reimplemented from PyTrilinos::Epetra::NumPyIntVector.

def PyTrilinos::Epetra::IntVector::__init__ (   self,
  args 
)

__init__(self) -> IntVector

Reimplemented from PyTrilinos::Epetra::NumPyIntVector.

def PyTrilinos::Epetra::IntVector::__init__ (   self,
  args 
)

__init__(self, BlockMap map, bool zeroOut=True) -> IntVector
__init__(self, IntVector source) -> IntVector
__init__(self, BlockMap map, PyObject array) -> IntVector
__init__(self, PyObject array) -> IntVector

Arguments:
    map      - BlockMap describing domain decomposition
    zeroOut  - Flag controlling whether to initialize IntVector to 0
    source   - Source IntVector for copy constructor
    array    - Python sequence that can be converted to a numpy array of
       integers for initialization

Reimplemented from PyTrilinos::Epetra::NumPyIntVector.

def PyTrilinos::Epetra::IntVector::__init__ (   self,
  args 
)

__init__(self) -> IntVector

Reimplemented from PyTrilinos::Epetra::NumPyIntVector.

def PyTrilinos::Epetra::IntVector::__initArray__ (   self  ) 

__initArray__(self)

Initialize the underlying numpy array.

def PyTrilinos::Epetra::IntVector::__initArray__ (   self  ) 

__initArray__(self)

Initialize the underlying numpy array.

def PyTrilinos::Epetra::IntVector::__le__ (   self,
  other 
)

__le__(self, other) -> bool

Less-than-or-equal operator (<=).

def PyTrilinos::Epetra::IntVector::__le__ (   self,
  other 
)

__le__(self, other) -> bool

Less-than-or-equal operator (<=).

def PyTrilinos::Epetra::IntVector::__lt__ (   self,
  other 
)

__lt__(self, other) -> bool

Less-than operator (<).

def PyTrilinos::Epetra::IntVector::__lt__ (   self,
  other 
)

__lt__(self, other) -> bool

Less-than operator (<).

def PyTrilinos::Epetra::IntVector::__ne__ (   self,
  other 
)

__ne__(self, other) -> bool

Not-equal operator (!=).

def PyTrilinos::Epetra::IntVector::__ne__ (   self,
  other 
)

__ne__(self, other) -> bool

Not-equal operator (!=).

def PyTrilinos::Epetra::IntVector::__str__ (   self  ) 

__str__(self)__ -> string

Return a numpy-style string representation of the IntVector.

def PyTrilinos::Epetra::IntVector::__str__ (   self  ) 

__str__(self)__ -> string

Return a numpy-style string representation of the IntVector.


The documentation for this class was generated from the following files:

Generated on Thu Dec 17 11:00:20 2009 for PyTrilinos by  doxygen 1.5.9