43 #ifndef IFPACK_REORDERFILTER_H
44 #define IFPACK_REORDERFILTER_H
46 #include "Ifpack_ConfigDefs.h"
47 #include "Epetra_RowMatrix.h"
48 #include "Teuchos_RefCountPtr.hpp"
86 const Teuchos::RefCountPtr<Ifpack_Reordering>& Reordering_in);
106 return(MaxNumEntries_);
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_;
344 Teuchos::RefCountPtr<Ifpack_Reordering> Reordering_;
virtual double NormOne() const
Returns the 1-norm.
virtual int InvColSums(Epetra_Vector &x) const
Inverse of column sums (not implemented).
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the row matrix of the non-reordered matrix.
Teuchos::RefCountPtr< Ifpack_Reordering > Reordering() const
Returns a reference-counted pointer to the internally stored pointer to Ifpack_Reordering....
virtual int RightScale(const Epetra_Vector &x)
Right scale of the matrix (not implemented).
virtual int NumMyNonzeros() const
Returns the number of local nonzero elements.
virtual int NumMyCols() const
Returns the number of local columns.
bool HasNormInf() const
Returns true if this matrix has the infinite norm.
bool UseTranspose() const
Returns true if the transpose of this matrix is used.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the importer of the non-reordered matrix.
virtual int NumGlobalNonzeros() const
Returns the number of global nonzero elements.
const Epetra_Map & OperatorDomainMap() const
Returns the operator domain map of the non-reordered matrix.
virtual bool UpperTriangular() const
Returns true is the reordered matrix is upper triangular.
Ifpack_Reordering: basic class for reordering for a Ifpack_Graph object.
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Solve, not implemented.
virtual long long NumGlobalRows64() const
Returns the number of global rows.
virtual double NormInf() const
Returns the infinite-norm.
virtual const Epetra_Map & RowMatrixColMap() const
Returns the column matrix of the non-reordered matrix.
virtual int NumMyDiagonals() const
Returns the number of local diagonals.
virtual int NumMyRows() const
Returns the number of local rows.
virtual int MaxNumEntries() const
Returns maximum num entries.
virtual long long NumGlobalDiagonals64() const
Returns the number of global diagonals.
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 int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Applies the reordered matrix to multi-vector X, returns the result in Y.
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Extracts a copy of the diagonal of the reordered matrix.
virtual int NumGlobalRows() const
Returns the number of global rows.
virtual int NumGlobalCols() const
Returns the number of global columns.
const Epetra_Comm & Comm() const
Returns the communicator.
virtual bool Filled() const
Returns true is the matrix called FillComplete().
int SetUseTranspose(bool UseTranspose_in)
Sets the use of the transpose.
const Epetra_Map & OperatorRangeMap() const
Returns the operator domain range of the non-reordered matrix.
Ifpack_ReorderFilter: a class for light-weight reorder of local rows and columns of an Epetra_RowMatr...
const char * Label() const
Returns the label of this object.
virtual long long NumGlobalNonzeros64() const
Returns the number of global nonzero elements.
virtual ~Ifpack_ReorderFilter()
Destructor.
virtual int NumMyRowEntries(int MyRow, int &NumEntries) const
Returns the number of local row entries.
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.
const Epetra_BlockMap & Map() const
Returns the map of the non-reordered matrix.
virtual int LeftScale(const Epetra_Vector &x)
Left scale of the matrix (not implemented).
virtual bool LowerTriangular() const
Returns true is the reordered matrix is lower triangular.
virtual long long NumGlobalCols64() const
Returns the number of global columns.
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Applies the inverse of this operator (not implemented).
virtual int InvRowSums(Epetra_Vector &x) const
Inverse of row sums (not implemented).
Ifpack_ReorderFilter & operator=(const Ifpack_ReorderFilter &RHS)
Operator assignment.