PyTrilinos::Epetra::FEVector Class Reference

Inheritance diagram for PyTrilinos::Epetra::FEVector:

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

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++ FEVector class

Epetra Finite-Element Vector. This class inherits Epetra.MultiVector and
thus provides all Epetra.MultiVector functionality, with one restriction:
currently an Epetra.FEVector only has 1 internal vector.

The added functionality provided by Epetra.FEVector is the ability to
perform finite-element style vector assembly. It accepts sub-vector
contributions, such as those that would come from element-load vectors,
etc., and these sub-vectors need not be wholly locally owned.  In other
words, the user can assemble overlapping data (e.g., corresponding to shared
finite-element nodes). When the user is finished assembling their vector
data, they then call the method Epetra.FEVector::GlobalAssemble() which
gathers the overlapping data (all non-local data that was input on each
processor) into the data- distribution specified by the map that the
Epetra.FEVector is constructed with.

Note: At the current time (Sept 6, 2002) the methods in this implementation
assume that there is only 1 point associated with each map element. This
limitation will be removed in the near future.

In the python implementation, the FEVector 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::FEVector::__eq__ (   self,
  other 
)

__eq__(self, other) -> bool

Equal operator (==).

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

__eq__(self, other) -> bool

Equal operator (==).

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

__ge__(self, other) -> bool

Greater-than or equal operator (>=).

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

__ge__(self, other) -> bool

Greater-than or equal operator (>=).

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

__gt__(self, other) -> bool

Greater-than operator (>).

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

__gt__(self, other) -> bool

Greater-than operator (>).

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

__init__(self, BlockMap map, bool zeroOut=True) -> FEVector
__init__(self, FEVector source) -> FEVector
__init__(self, BlockMap map, PyObject array) -> FEVector
__init__(self, DataAccess CV, Vector source) -> FEVector
__init__(self, DataAccess CV, MultiVector source, PyObject index) -> FEVector
__init__(self, PyObject array) -> FEVector

Arguments:
    map         - BlockMap describing domain decomposition
    zeroOut     - Flag controlling whether to initialize MultiVector to
          zero
    source      - Source Vector or MultiVector for copy constructors
    array       - Python sequence that can be converted to a numpy array
          of doubles for initialization
    CV          - Epetra.Copy or Epetra.View
    index       - MultiVector vector index for copy constructor

Reimplemented from PyTrilinos::Epetra::NumPyFEVector.

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

__init__(self) -> FEVector

Reimplemented from PyTrilinos::Epetra::NumPyFEVector.

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

__init__(self, BlockMap map, bool zeroOut=True) -> FEVector
__init__(self, FEVector source) -> FEVector
__init__(self, BlockMap map, PyObject array) -> FEVector
__init__(self, DataAccess CV, Vector source) -> FEVector
__init__(self, DataAccess CV, MultiVector source, PyObject index) -> FEVector
__init__(self, PyObject array) -> FEVector

Arguments:
    map         - BlockMap describing domain decomposition
    zeroOut     - Flag controlling whether to initialize MultiVector to
          zero
    source      - Source Vector or MultiVector for copy constructors
    array       - Python sequence that can be converted to a numpy array
          of doubles for initialization
    CV          - Epetra.Copy or Epetra.View
    index       - MultiVector vector index for copy constructor

Reimplemented from PyTrilinos::Epetra::NumPyFEVector.

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

__init__(self) -> FEVector

Reimplemented from PyTrilinos::Epetra::NumPyFEVector.

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

__initArray__(self)

Initialize the underlying numpy array.

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

__initArray__(self)

Initialize the underlying numpy array.

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

__le__(self, other) -> bool

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

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

__le__(self, other) -> bool

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

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

__lt__(self, other) -> bool

Less-than operator (<).

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

__lt__(self, other) -> bool

Less-than operator (<).

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

__ne__(self, other) -> bool

Not-equal operator (!=).

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

__ne__(self, other) -> bool

Not-equal operator (!=).

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

__str__(self) -> string

Return the numpy-style string representation of the MultiVector.

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

__str__(self) -> string

Return the numpy-style string representation of the MultiVector.


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

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