|
Amesos Package Browser (Single Doxygen Collection)
Development
|
Go to the documentation of this file. 1 #ifndef IFPACK_ROWMATRIX_H
2 #define IFPACK_ROWMATRIX_H
84 virtual int ExtractMyRowCopy(
int MyRow,
int Length,
int & NumEntries,
double *Values,
int * Indices)
const
125 return(
Matrix().
Solve(Upper,Trans,UnitDiagonal,X,Y));
192 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
299 int SetOwnership(
bool ownership)
302 return(
Matrix().SetOwnership(ownership));
Epetra_RowMatrix * Matrix_
Pointer to the matrix to be preconditioned.
virtual bool UpperTriangular() const=0
virtual int NumGlobalRows() const
Returns the number of global matrix rows.
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns result of a local-only solve using a triangular Epetra_RowMatrix with Epetra_MultiVectors X a...
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const
Returns the number of nonzero entries in MyRow.
virtual bool UpperTriangular() const
If matrix is upper triangular in local index space, this query returns true, otherwise it returns fal...
virtual int InvColSums(Epetra_Vector &x) const
Computes the sum of absolute values of the columns of the Epetra_RowMatrix, results returned in x (NO...
virtual double NormInf() const
Returns the infinity norm of the global matrix.
const char * Label() const
Amesos_TestRowMatrix(Epetra_RowMatrix *Matrix_in)
Constructor.
const Epetra_BlockMap & Map() const
virtual long long NumGlobalDiagonals64() const
Returns the number of global nonzero diagonal entries, based on global row/column index comparisons.
virtual int NumGlobalDiagonals() const
Returns the number of global nonzero diagonal entries, based on global row/column index comparisons.
virtual int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries, based on global row/column index comparisons.
virtual int LeftScale(const Epetra_Vector &x)
Scales the Epetra_RowMatrix on the left with a Epetra_Vector x (NOT IMPLEMENTED).
Amesos_TestRowMatrix: a class to test Epetra_RowMatrix based codes.
virtual long long NumGlobalCols64() const
Returns the number of global matrix columns.
virtual int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_RowMatrix multiplied by a Epetra_MultiVector X in Y.
virtual int NumMyNonzeros() const
Returns the number of nonzero entries in the calling processor's portion of the matrix.
const Epetra_RowMatrix & Matrix() const
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the Epetra_Map object associated with the rows of this matrix.
int SetUseTranspose(bool UseTranspose_in)
Sets use transpose (not implemented).
virtual bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false.
virtual int NumGlobalCols() const
Returns the number of global matrix columns.
Epetra_RowMatrix & Matrix()
bool UseTranspose() const
Returns the current UseTranspose setting.
virtual bool LowerTriangular() const=0
virtual long long NumGlobalRows64() const
Returns the number of global matrix rows.
bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
virtual int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
Returns a copy of the specified local row in user-provided arrays.
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
virtual int MaxNumEntries() const
Returns the maximum of NumMyRowEntries() over all rows.
virtual ~Amesos_TestRowMatrix()
Destructor.
virtual int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
virtual long long NumGlobalNonzeros64() const
Returns the number of nonzero entries in the global matrix.
virtual const Epetra_Map & RowMatrixColMap() const
Returns the Epetra_Map object associated with the columns of this matrix.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
virtual bool LowerTriangular() const
If matrix is lower triangular in local index space, this query returns true, otherwise it returns fal...
virtual double NormOne() const
Returns the one norm of the global matrix.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations.
virtual int RightScale(const Epetra_Vector &x)
Scales the Epetra_RowMatrix on the right with a Epetra_Vector x (NOT IMPLEMENTED).
virtual int InvRowSums(Epetra_Vector &x) const
Computes the sum of absolute values of the rows of the Epetra_RowMatrix, results returned in x (NOT I...
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator.
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Returns a copy of the main diagonal in a user-provided vector.
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
virtual int NumMyCols() const
Returns the number of matrix columns owned by the calling processor.