43 #ifndef IFPACK_REORDERFILTER_H 44 #define IFPACK_REORDERFILTER_H 47 #include "Epetra_RowMatrix.h" 48 #include "Teuchos_RefCountPtr.hpp" 86 const Teuchos::RefCountPtr<Ifpack_Reordering>& Reordering_in);
110 virtual int ExtractMyRowCopy(
int MyRow,
int Length,
int & NumEntries,
double *Values,
int * Indices)
const;
120 virtual int Solve(
bool Upper,
bool Trans,
bool UnitDiagonal,
177 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 330 inline Teuchos::RefCountPtr<Epetra_RowMatrix>
Matrix()
const {
335 inline Teuchos::RefCountPtr<Ifpack_Reordering>
Reordering()
const {
342 Teuchos::RefCountPtr<Epetra_RowMatrix>
A_;
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Applies the reordered matrix to multi-vector X, returns the result in Y.
virtual bool Filled() const
Returns true is the matrix called FillComplete().
int SetUseTranspose(bool UseTranspose_in)
Sets the use of the transpose.
int NumMyRows_
Number of local rows of A_.
virtual int NumMyCols() const
Returns the number of local columns.
const char * Label() const
Returns the label of this object.
char Label_[80]
Label for this object.
virtual int InvColSums(Epetra_Vector &) const
Inverse of column sums (not implemented).
virtual int NumGlobalNonzeros() const
Returns the number of global nonzero elements.
virtual bool LowerTriangular() const
Returns true is the reordered matrix is lower triangular.
int MaxNumEntries_
Maximum number of entries in A_.
Ifpack_ReorderFilter(const Teuchos::RefCountPtr< Epetra_RowMatrix > &Matrix_in, const Teuchos::RefCountPtr< Ifpack_Reordering > &Reordering_in)
virtual long long NumGlobalNonzeros64() const
Returns the number of global nonzero elements.
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Solve, not implemented.
virtual int InvRowSums(Epetra_Vector &) const
Inverse of row sums (not implemented).
Ifpack_ReorderFilter & operator=(const Ifpack_ReorderFilter &RHS)
Operator assignment.
virtual int LeftScale(const Epetra_Vector &)
Left scale of the matrix (not implemented).
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the row matrix of the non-reordered matrix.
Ifpack_Reordering: basic class for reordering for a Ifpack_Graph object.
const Epetra_Map & OperatorRangeMap() const
Returns the operator domain range of the non-reordered matrix.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the importer of the non-reordered matrix.
virtual bool UpperTriangular() const
Returns true is the reordered matrix is upper triangular.
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Extracts a copy of the diagonal of the reordered matrix.
virtual const Epetra_Map & RowMatrixColMap() const
Returns the column matrix of the non-reordered matrix.
Teuchos::RefCountPtr< Epetra_RowMatrix > A_
Pointer to the matrix to be preconditioned.
virtual int Multiply(bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Multiplies multi-vector X with the reordered matrix, returns result in Y.
virtual double NormOne() const
Returns the 1-norm.
const Epetra_BlockMap & Map() const
Returns the map of the non-reordered matrix.
virtual int NumMyNonzeros() const
Returns the number of local nonzero elements.
Teuchos::RefCountPtr< Ifpack_Reordering > Reordering() const
Returns a reference-counted pointer to the internally stored pointer to Ifpack_Reordering..
virtual long long NumGlobalCols64() const
Returns the number of global columns.
virtual double NormInf() const
Returns the infinite-norm.
virtual long long NumGlobalDiagonals64() const
Returns the number of global diagonals.
virtual long long NumGlobalRows64() const
Returns the number of global rows.
const Epetra_Map & OperatorDomainMap() const
Returns the operator domain map of the non-reordered matrix.
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const
Returns the number of local row entries.
virtual int RightScale(const Epetra_Vector &)
Right scale of the matrix (not implemented).
virtual int NumMyDiagonals() const
Returns the number of local diagonals.
const Epetra_Comm & Comm() const
Returns the communicator.
bool HasNormInf() const
Returns true if this matrix has the infinite norm.
virtual int MaxNumEntries() const
Returns maximum num entries.
virtual int ApplyInverse(const Epetra_MultiVector &, Epetra_MultiVector &) const
Applies the inverse of this operator (not implemented).
bool UseTranspose() const
Returns true if the transpose of this matrix is used.
virtual int NumGlobalDiagonals() const
Returns the number of global diagonals.
Teuchos::RefCountPtr< Epetra_RowMatrix > Matrix() const
Returns a reference-counted pointer to the internally stored pointer to Epetra_RowMatrix.
virtual ~Ifpack_ReorderFilter()
Destructor.
virtual int NumGlobalRows() const
Returns the number of global rows.
Ifpack_ReorderFilter: a class for light-weight reorder of local rows and columns of an Epetra_RowMatr...
virtual int NumGlobalCols() const
Returns the number of global columns.
Teuchos::RefCountPtr< Ifpack_Reordering > Reordering_
Pointer to the reordering to be used (already constructed).
virtual int NumMyRows() const
Returns the number of local rows.
virtual int ExtractMyRowCopy(int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const