PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
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__

Public Attributes

 this

Detailed Description

Operator: basic class to define operators within MLAPI.

Michael Gee, TU Munich.

Marzio Sala, SNL 9214

C++ includes: MLAPI_Operator.h 

Constructor & Destructor Documentation

def PyTrilinos.ML.Operator.__init__ (   self,
  args 
)
__init__(MLAPI::Operator self) -> Operator
__init__(MLAPI::Operator self, Space DomainSpace, Space RangeSpace, ML_Operator * Op, bool Ownership=True, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) -> Operator
__init__(MLAPI::Operator self, Space DomainSpace, Space RangeSpace, RowMatrix Matrix, bool Ownership=True, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) -> Operator
__init__(MLAPI::Operator self, Operator RHS) -> Operator

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

Copy constructor. 

Reimplemented from PyTrilinos.ML.CompObject.

Reimplemented in PyTrilinos.ML.PyMatrix.


Member Function Documentation

def PyTrilinos.ML.Operator.__add__ (   self,
  args 
)
__add__(Operator self, Operator rhs) -> Operator
def PyTrilinos.ML.Operator.__div__ (   self,
  args 
)
__div__(Operator self, double const rhs) -> Operator
def PyTrilinos.ML.Operator.__getitem__ (   self,
  args 
)
__getitem__(Operator self, PyObject * args) -> PyObject *

Reimplemented in PyTrilinos.ML.PyMatrix.

def PyTrilinos.ML.Operator.__mul__ (   self,
  args 
)
__mul__(Operator self, MultiVector rhs) -> MultiVector
__mul__(Operator self, Operator rhs) -> Operator
__mul__(Operator self, double const rhs) -> Operator
def PyTrilinos.ML.Operator.__sub__ (   self,
  args 
)
__sub__(Operator self, Operator rhs) -> Operator
def PyTrilinos.ML.Operator.Apply (   self,
  args 
)
Apply(Operator 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(Operator 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(Operator 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(Operator 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(Operator self, int const 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(Operator self, int const 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(Operator self) -> ML_Operator *

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

Returns the RefCountPtr of OperatorBox_. 
def PyTrilinos.ML.Operator.GetNumGlobalCols (   self,
  args 
)
GetNumGlobalCols(Operator self) -> int

int
MLAPI::Operator::GetNumGlobalCols() const

Returns the number of global columns. 
def PyTrilinos.ML.Operator.GetNumGlobalNonzeros (   self,
  args 
)
GetNumGlobalNonzeros(Operator self) -> int

int
MLAPI::Operator::GetNumGlobalNonzeros() const

Returns the global number of nonzeros. 
def PyTrilinos.ML.Operator.GetNumGlobalRows (   self,
  args 
)
GetNumGlobalRows(Operator self) -> int

int
MLAPI::Operator::GetNumGlobalRows() const

Returns the number of global rows. 
def PyTrilinos.ML.Operator.GetNumMyCols (   self,
  args 
)
GetNumMyCols(Operator self) -> int

int
MLAPI::Operator::GetNumMyCols() const

Returns the number of local columns. 
def PyTrilinos.ML.Operator.GetNumMyNonzeros (   self,
  args 
)
GetNumMyNonzeros(Operator self) -> int

int
MLAPI::Operator::GetNumMyNonzeros() const

Returns the local number of nonzeros. 
def PyTrilinos.ML.Operator.GetNumMyRows (   self,
  args 
)
GetNumMyRows(Operator self) -> int

int
MLAPI::Operator::GetNumMyRows() const

Returns the number of local rows. 
GetOperatorDomainSpace(Operator self) -> Space

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

Returns a reference to the internally stored domain space. 

Reimplemented from PyTrilinos.ML.BaseOperator.

GetOperatorRangeSpace(Operator 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(Operator 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(Operator self) -> Teuchos::RefCountPtr< ML_Operator_Box > const &

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

Returns the RefCountPtr of AuxOperatorBox_. 
def PyTrilinos.ML.Operator.GetRCPOperatorBox (   self,
  args 
)
GetRCPOperatorBox(Operator self) -> Teuchos::RefCountPtr< ML_Operator_Box > const &

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

Returns the RefCountPtr of OperatorBox_. 
def PyTrilinos.ML.Operator.GetRCPRowMatrix (   self,
  args 
)
GetRCPRowMatrix(Operator self) -> Teuchos::RefCountPtr< Epetra_RowMatrix > const &

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

Returns the RefCountPtr of RowMatrix_. 
def PyTrilinos.ML.Operator.GetRowMatrix (   self,
  args 
)
GetRowMatrix(Operator self) -> RowMatrix

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

Returns the RefCountPtr of OperatorBox_. 
def PyTrilinos.ML.Operator.Reshape (   self,
  args 
)
Reshape(Operator self)
Reshape(Operator self, Space DomainSpace, Space RangeSpace, ML_Operator * Op, bool Ownership=True, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null)
Reshape(Operator 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 file:
 All Classes Functions