1 #ifndef IFPACK_ROWMATRIX_H
2 #define IFPACK_ROWMATRIX_H
4 #if defined(Amesos_SHOW_DEPRECATED_WARNINGS)
6 #warning "The Amesos package is deprecated"
90 virtual int ExtractMyRowCopy(
int MyRow,
int Length,
int & NumEntries,
double *Values,
int * Indices)
const
131 return(
Matrix().
Solve(Upper,Trans,UnitDiagonal,X,Y));
198 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
305 int SetOwnership(
bool ownership)
308 return(
Matrix().SetOwnership(ownership));
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 int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global matrix.
Epetra_RowMatrix & Matrix()
const char * Label() const
virtual long long NumGlobalRows64() const
Returns the number of global matrix rows.
virtual int MaxNumEntries() const
Returns the maximum of NumMyRowEntries() over all rows.
bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
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 long long NumGlobalCols64() const
Returns the number of global matrix columns.
virtual int LeftScale(const Epetra_Vector &x)
Scales the Epetra_RowMatrix on the left with a Epetra_Vector x (NOT IMPLEMENTED). ...
virtual int NumMyRows() const
Returns the number of matrix rows owned by the calling processor.
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator.
virtual bool Filled() const
If FillComplete() has been called, this query returns true, otherwise it returns false.
virtual const Epetra_Map & RowMatrixColMap() const
Returns the Epetra_Map object associated with the columns of this matrix.
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
Amesos_TestRowMatrix: a class to test Epetra_RowMatrix based codes.
const Epetra_RowMatrix & Matrix() const
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Returns a copy of the main diagonal in a user-provided vector.
virtual bool LowerTriangular() const =0
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 ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
Returns a copy of the specified local row in user-provided arrays.
virtual bool LowerTriangular() const
If matrix is lower triangular in local index space, this query returns true, otherwise it returns fal...
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...
Epetra_RowMatrix * Matrix_
Pointer to the matrix to be preconditioned.
const Epetra_BlockMap & Map() const
virtual int NumMyNonzeros() const
Returns the number of nonzero entries in the calling processor's portion of the matrix.
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const
Returns the number of nonzero entries in MyRow.
virtual ~Amesos_TestRowMatrix()
Destructor.
virtual int NumMyDiagonals() const
Returns the number of local nonzero diagonal entries, based on global row/column index comparisons...
virtual double NormInf() const
Returns the infinity norm of the global matrix.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the Epetra_Map object associated with the rows of this matrix.
virtual int NumGlobalRows() const
Returns the number of global matrix rows.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the Epetra_Import object that contains the import operations for distributed operations...
virtual int NumMyCols() const
Returns the number of matrix columns owned by the calling processor.
virtual int RightScale(const Epetra_Vector &x)
Scales the Epetra_RowMatrix on the right with a Epetra_Vector x (NOT IMPLEMENTED).
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) 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 double NormOne() const
Returns the one norm of the global matrix.
virtual bool UpperTriangular() const =0
virtual long long NumGlobalNonzeros64() const
Returns the number of nonzero entries in the global matrix.
int SetUseTranspose(bool UseTranspose_in)
Sets use transpose (not implemented).
bool UseTranspose() const
Returns the current UseTranspose setting.
virtual int NumGlobalCols() const
Returns the number of global matrix columns.
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual bool UpperTriangular() const
If matrix is upper triangular in local index space, this query returns true, otherwise it returns fal...
Amesos_TestRowMatrix(Epetra_RowMatrix *Matrix_in)
Constructor.