PyTrilinos::ML::Operator Class Reference

Inheritance diagram for PyTrilinos::ML::Operator:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::ML::Operator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def Reshape
def GetOperatorDomainSpace
def GetOperatorRangeSpace
def GetDomainSpace
def GetRangeSpace
def GetColumnSpace
def GetNumGlobalRows
def GetNumMyRows
def GetNumGlobalCols
def GetNumMyCols
def GetNumGlobalNonzeros
def GetNumMyNonzeros
def GetRowMatrix
def GetML_Operator
def GetRCPOperatorBox
def GetRCPAuxOperatorBox
def GetRCPRowMatrix
def GetGRID
def GetGCID
def Apply
def BuildColumnSpace
def __getitem__
def __add__
def __sub__
def __mul__
def __div__
def __init__
def Reshape
def GetOperatorDomainSpace
def GetOperatorRangeSpace
def GetDomainSpace
def GetRangeSpace
def GetColumnSpace
def GetNumGlobalRows
def GetNumMyRows
def GetNumGlobalCols
def GetNumMyCols
def GetNumGlobalNonzeros
def GetNumMyNonzeros
def GetRowMatrix
def GetML_Operator
def GetRCPOperatorBox
def GetRCPAuxOperatorBox
def GetRCPRowMatrix
def GetGRID
def GetGCID
def Apply
def BuildColumnSpace
def __getitem__
def __add__
def __sub__
def __mul__
def __div__

Public Attributes

 this


Detailed Description

Operator: basic class to define operators within MLAPI.

Marzio Sala, SNL 9214

C++ includes: MLAPI_Operator.h 

Member Function Documentation

def PyTrilinos::ML::Operator::__add__ (   self,
  args 
)

__add__(self, Operator rhs) -> Operator

def PyTrilinos::ML::Operator::__add__ (   self,
  args 
)

__add__(self, Operator rhs) -> Operator

def PyTrilinos::ML::Operator::__div__ (   self,
  args 
)

__div__(self, double rhs) -> Operator

def PyTrilinos::ML::Operator::__div__ (   self,
  args 
)

__div__(self, double rhs) -> Operator

def PyTrilinos::ML::Operator::__getitem__ (   self,
  args 
)

__getitem__(self, PyObject args) -> PyObject

Reimplemented in PyTrilinos::ML::PyMatrix, and PyTrilinos::ML::PyMatrix.

def PyTrilinos::ML::Operator::__getitem__ (   self,
  args 
)

__getitem__(self, PyObject args) -> PyObject

Reimplemented in PyTrilinos::ML::PyMatrix, and PyTrilinos::ML::PyMatrix.

def PyTrilinos::ML::Operator::__init__ (   self,
  args 
)

__init__(self) -> Operator
__init__(self, Space DomainSpace, Space RangeSpace, ML_Operator Op, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null) -> Operator
__init__(self, Space DomainSpace, Space RangeSpace, RowMatrix Matrix, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null) -> Operator
__init__(self, Operator RHS) -> Operator

MLAPI::Operator::Operator(const Operator &RHS)

Copy constructor. 

Reimplemented from PyTrilinos::ML::CompObject.

Reimplemented in PyTrilinos::ML::PyMatrix, and PyTrilinos::ML::PyMatrix.

def PyTrilinos::ML::Operator::__init__ (   self,
  args 
)

__init__(self) -> Operator
__init__(self, Space DomainSpace, Space RangeSpace, ML_Operator Op, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null) -> Operator
__init__(self, Space DomainSpace, Space RangeSpace, RowMatrix Matrix, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null) -> Operator
__init__(self, Operator RHS) -> Operator

MLAPI::Operator::Operator(const Operator &RHS)

Copy constructor. 

Reimplemented from PyTrilinos::ML::CompObject.

Reimplemented in PyTrilinos::ML::PyMatrix, and PyTrilinos::ML::PyMatrix.

def PyTrilinos::ML::Operator::__mul__ (   self,
  args 
)

__mul__(self, MultiVector rhs) -> MultiVector
__mul__(self, Operator rhs) -> Operator
__mul__(self, double rhs) -> Operator

def PyTrilinos::ML::Operator::__mul__ (   self,
  args 
)

__mul__(self, MultiVector rhs) -> MultiVector
__mul__(self, Operator rhs) -> Operator
__mul__(self, double rhs) -> Operator

def PyTrilinos::ML::Operator::__sub__ (   self,
  args 
)

__sub__(self, Operator rhs) -> Operator

def PyTrilinos::ML::Operator::__sub__ (   self,
  args 
)

__sub__(self, Operator rhs) -> Operator

def PyTrilinos::ML::Operator::Apply (   self,
  args 
)

Apply(self, MultiVector X, MultiVector Y) -> int

int
MLAPI::Operator::Apply(const MultiVector &X, MultiVector &Y) const

Applies this operator to LHS, returns the result in RHS. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::Apply (   self,
  args 
)

Apply(self, MultiVector X, MultiVector Y) -> int

int
MLAPI::Operator::Apply(const MultiVector &X, MultiVector &Y) const

Applies this operator to LHS, returns the result in RHS. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::BuildColumnSpace (   self,
  args 
)

BuildColumnSpace(self)

void
MLAPI::Operator::BuildColumnSpace()

Build the column space, by computing the GID of all local columns. 

def PyTrilinos::ML::Operator::BuildColumnSpace (   self,
  args 
)

BuildColumnSpace(self)

void
MLAPI::Operator::BuildColumnSpace()

Build the column space, by computing the GID of all local columns. 

def PyTrilinos::ML::Operator::GetColumnSpace (   self,
  args 
)

GetColumnSpace(self) -> Space

const Space
MLAPI::Operator::GetColumnSpace() const

Returns a reference to the internally stored column space. 

def PyTrilinos::ML::Operator::GetColumnSpace (   self,
  args 
)

GetColumnSpace(self) -> Space

const Space
MLAPI::Operator::GetColumnSpace() const

Returns a reference to the internally stored column space. 

def PyTrilinos::ML::Operator::GetDomainSpace (   self,
  args 
)

GetDomainSpace(self) -> Space

const Space
MLAPI::Operator::GetDomainSpace() const

Returns a reference to the internally stored domain space. 

def PyTrilinos::ML::Operator::GetDomainSpace (   self,
  args 
)

GetDomainSpace(self) -> Space

const Space
MLAPI::Operator::GetDomainSpace() const

Returns a reference to the internally stored domain space. 

def PyTrilinos::ML::Operator::GetGCID (   self,
  args 
)

GetGCID(self, int LCID) -> int

int
MLAPI::Operator::GetGCID(const int LCID) const

Returns the global ID of local column ID LCID. 

def PyTrilinos::ML::Operator::GetGCID (   self,
  args 
)

GetGCID(self, int LCID) -> int

int
MLAPI::Operator::GetGCID(const int LCID) const

Returns the global ID of local column ID LCID. 

def PyTrilinos::ML::Operator::GetGRID (   self,
  args 
)

GetGRID(self, int LRID) -> int

int
MLAPI::Operator::GetGRID(const int LRID) const

Returns the global ID of local row ID LRID. 

def PyTrilinos::ML::Operator::GetGRID (   self,
  args 
)

GetGRID(self, int LRID) -> int

int
MLAPI::Operator::GetGRID(const int LRID) const

Returns the global ID of local row ID LRID. 

def PyTrilinos::ML::Operator::GetML_Operator (   self,
  args 
)

GetML_Operator(self) -> ML_Operator

ML_Operator*
MLAPI::Operator::GetML_Operator() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::GetML_Operator (   self,
  args 
)

GetML_Operator(self) -> ML_Operator

ML_Operator*
MLAPI::Operator::GetML_Operator() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::GetNumGlobalCols (   self,
  args 
)

GetNumGlobalCols(self) -> int

int
MLAPI::Operator::GetNumGlobalCols() const

Returns the number of global columns. 

def PyTrilinos::ML::Operator::GetNumGlobalCols (   self,
  args 
)

GetNumGlobalCols(self) -> int

int
MLAPI::Operator::GetNumGlobalCols() const

Returns the number of global columns. 

def PyTrilinos::ML::Operator::GetNumGlobalNonzeros (   self,
  args 
)

GetNumGlobalNonzeros(self) -> int

int
MLAPI::Operator::GetNumGlobalNonzeros() const

Returns the global number of nonzeros. 

def PyTrilinos::ML::Operator::GetNumGlobalNonzeros (   self,
  args 
)

GetNumGlobalNonzeros(self) -> int

int
MLAPI::Operator::GetNumGlobalNonzeros() const

Returns the global number of nonzeros. 

def PyTrilinos::ML::Operator::GetNumGlobalRows (   self,
  args 
)

GetNumGlobalRows(self) -> int

int
MLAPI::Operator::GetNumGlobalRows() const

Returns the number of global rows. 

def PyTrilinos::ML::Operator::GetNumGlobalRows (   self,
  args 
)

GetNumGlobalRows(self) -> int

int
MLAPI::Operator::GetNumGlobalRows() const

Returns the number of global rows. 

def PyTrilinos::ML::Operator::GetNumMyCols (   self,
  args 
)

GetNumMyCols(self) -> int

int
MLAPI::Operator::GetNumMyCols() const

Returns the number of local columns. 

def PyTrilinos::ML::Operator::GetNumMyCols (   self,
  args 
)

GetNumMyCols(self) -> int

int
MLAPI::Operator::GetNumMyCols() const

Returns the number of local columns. 

def PyTrilinos::ML::Operator::GetNumMyNonzeros (   self,
  args 
)

GetNumMyNonzeros(self) -> int

int
MLAPI::Operator::GetNumMyNonzeros() const

Returns the local number of nonzeros. 

def PyTrilinos::ML::Operator::GetNumMyNonzeros (   self,
  args 
)

GetNumMyNonzeros(self) -> int

int
MLAPI::Operator::GetNumMyNonzeros() const

Returns the local number of nonzeros. 

def PyTrilinos::ML::Operator::GetNumMyRows (   self,
  args 
)

GetNumMyRows(self) -> int

int
MLAPI::Operator::GetNumMyRows() const

Returns the number of local rows. 

def PyTrilinos::ML::Operator::GetNumMyRows (   self,
  args 
)

GetNumMyRows(self) -> int

int
MLAPI::Operator::GetNumMyRows() const

Returns the number of local rows. 

def PyTrilinos::ML::Operator::GetOperatorDomainSpace (   self,
  args 
)

GetOperatorDomainSpace(self) -> Space

const
Space MLAPI::Operator::GetOperatorDomainSpace() const

Returns a reference to the internally stored domain space. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::GetOperatorDomainSpace (   self,
  args 
)

GetOperatorDomainSpace(self) -> Space

const
Space MLAPI::Operator::GetOperatorDomainSpace() const

Returns a reference to the internally stored domain space. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::GetOperatorRangeSpace (   self,
  args 
)

GetOperatorRangeSpace(self) -> Space

const
Space MLAPI::Operator::GetOperatorRangeSpace() const

Returns a reference to the internally stored range space. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::GetOperatorRangeSpace (   self,
  args 
)

GetOperatorRangeSpace(self) -> Space

const
Space MLAPI::Operator::GetOperatorRangeSpace() const

Returns a reference to the internally stored range space. 

Reimplemented from PyTrilinos::ML::BaseOperator.

def PyTrilinos::ML::Operator::GetRangeSpace (   self,
  args 
)

GetRangeSpace(self) -> Space

const Space
MLAPI::Operator::GetRangeSpace() const

Returns a reference to the internally stored range space. 

def PyTrilinos::ML::Operator::GetRangeSpace (   self,
  args 
)

GetRangeSpace(self) -> Space

const Space
MLAPI::Operator::GetRangeSpace() const

Returns a reference to the internally stored range space. 

def PyTrilinos::ML::Operator::GetRCPAuxOperatorBox (   self,
  args 
)

GetRCPAuxOperatorBox(self) -> Teuchos::RefCountPtr<(ML_Operator_Box)>

const
Teuchos::RefCountPtr<ML_Operator_Box>&
MLAPI::Operator::GetRCPAuxOperatorBox() const

Returns the RefCountPtr of AuxOperatorBox_. 

def PyTrilinos::ML::Operator::GetRCPAuxOperatorBox (   self,
  args 
)

GetRCPAuxOperatorBox(self) -> Teuchos::RefCountPtr<(ML_Operator_Box)>

const
Teuchos::RefCountPtr<ML_Operator_Box>&
MLAPI::Operator::GetRCPAuxOperatorBox() const

Returns the RefCountPtr of AuxOperatorBox_. 

def PyTrilinos::ML::Operator::GetRCPOperatorBox (   self,
  args 
)

GetRCPOperatorBox(self) -> Teuchos::RefCountPtr<(ML_Operator_Box)>

const
Teuchos::RefCountPtr<ML_Operator_Box>&
MLAPI::Operator::GetRCPOperatorBox() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::GetRCPOperatorBox (   self,
  args 
)

GetRCPOperatorBox(self) -> Teuchos::RefCountPtr<(ML_Operator_Box)>

const
Teuchos::RefCountPtr<ML_Operator_Box>&
MLAPI::Operator::GetRCPOperatorBox() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::GetRCPRowMatrix (   self,
  args 
)

GetRCPRowMatrix(self) -> Teuchos::RefCountPtr<(Epetra_RowMatrix)>

const
Teuchos::RefCountPtr<Epetra_RowMatrix>&
MLAPI::Operator::GetRCPRowMatrix() const

Returns the RefCountPtr of RowMatrix_. 

def PyTrilinos::ML::Operator::GetRCPRowMatrix (   self,
  args 
)

GetRCPRowMatrix(self) -> Teuchos::RefCountPtr<(Epetra_RowMatrix)>

const
Teuchos::RefCountPtr<Epetra_RowMatrix>&
MLAPI::Operator::GetRCPRowMatrix() const

Returns the RefCountPtr of RowMatrix_. 

def PyTrilinos::ML::Operator::GetRowMatrix (   self,
  args 
)

GetRowMatrix(self) -> RowMatrix

const
Epetra_RowMatrix* MLAPI::Operator::GetRowMatrix() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::GetRowMatrix (   self,
  args 
)

GetRowMatrix(self) -> RowMatrix

const
Epetra_RowMatrix* MLAPI::Operator::GetRowMatrix() const

Returns the RefCountPtr of OperatorBox_. 

def PyTrilinos::ML::Operator::Reshape (   self,
  args 
)

Reshape(self)
Reshape(self, Space DomainSpace, Space RangeSpace, ML_Operator Op, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null)
Reshape(self, Space DomainSpace, Space RangeSpace, RowMatrix Matrix, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null)

void
MLAPI::Operator::Reshape(const Space &DomainSpace, const Space
&RangeSpace, Epetra_RowMatrix *Matrix, bool Ownership=true,
Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null)

Reshape with given already FillComplete()'d object. 

def PyTrilinos::ML::Operator::Reshape (   self,
  args 
)

Reshape(self)
Reshape(self, Space DomainSpace, Space RangeSpace, ML_Operator Op, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null)
Reshape(self, Space DomainSpace, Space RangeSpace, RowMatrix Matrix, 
    bool Ownership = True, Teuchos::RefCountPtr<(ML_Operator_Box)> AuxOp = Teuchos::null)

void
MLAPI::Operator::Reshape(const Space &DomainSpace, const Space
&RangeSpace, Epetra_RowMatrix *Matrix, bool Ownership=true,
Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null)

Reshape with given already FillComplete()'d object. 


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

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