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_;
int SetUseTranspose(bool UseTranspose_in)
Sets the use of the transpose.
virtual int NumGlobalRows() const
Returns the number of global rows.
virtual const Epetra_Map & RowMatrixRowMap() const
Returns the row matrix of the non-reordered matrix.
bool UseTranspose() const
Returns true if the transpose of this matrix is used.
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 LowerTriangular() const
Returns true is the reordered matrix is lower triangular.
virtual bool UpperTriangular() const
Returns true is the reordered matrix is upper triangular.
virtual long long NumGlobalDiagonals64() const
Returns the number of global diagonals.
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 int NumMyRowEntries(int MyRow, int &NumEntries) const
Returns the number of local row entries.
virtual int NumMyCols() const
Returns the number of local columns.
virtual int InvColSums(Epetra_Vector &) const
Inverse of column sums (not implemented).
virtual int MaxNumEntries() const
Returns maximum num entries.
virtual const Epetra_Import * RowMatrixImporter() const
Returns the importer of the non-reordered matrix.
Ifpack_ReorderFilter & operator=(const Ifpack_ReorderFilter &RHS)
Operator assignment.
virtual int LeftScale(const Epetra_Vector &)
Left scale of the matrix (not implemented).
const Epetra_BlockMap & Map() const
Returns the map of the non-reordered matrix.
virtual bool Filled() const
Returns true is the matrix called FillComplete().
virtual int ApplyInverse(const Epetra_MultiVector &, Epetra_MultiVector &) const
Applies the inverse of this operator (not implemented).
virtual const Epetra_Map & RowMatrixColMap() const
Returns the column matrix of the non-reordered matrix.
virtual int NumGlobalNonzeros() const
Returns the number of global nonzero elements.
virtual double NormInf() const
Returns the infinite-norm.
const char * Label() const
Returns the label of this object.
Ifpack_Reordering: basic class for reordering for a Ifpack_Graph object.
virtual int NumMyDiagonals() const
Returns the number of local diagonals.
virtual long long NumGlobalCols64() const
Returns the number of global columns.
virtual int NumMyNonzeros() const
Returns the number of local nonzero elements.
virtual int NumGlobalDiagonals() const
Returns the number of global diagonals.
virtual long long NumGlobalNonzeros64() const
Returns the number of global nonzero elements.
virtual double NormOne() const
Returns the 1-norm.
virtual int NumMyRows() const
Returns the number of local rows.
virtual int Solve(bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Solve, not implemented.
Teuchos::RefCountPtr< Epetra_RowMatrix > Matrix() const
Returns a reference-counted pointer to the internally stored pointer to Epetra_RowMatrix.
virtual int InvRowSums(Epetra_Vector &) const
Inverse of row sums (not implemented).
const Epetra_Comm & Comm() const
Returns the communicator.
bool HasNormInf() const
Returns true if this matrix has the infinite norm.
Teuchos::RefCountPtr< Ifpack_Reordering > Reordering() const
Returns a reference-counted pointer to the internally stored pointer to Ifpack_Reordering..
virtual long long NumGlobalRows64() const
Returns the number of global rows.
virtual int RightScale(const Epetra_Vector &)
Right scale of the matrix (not implemented).
const Epetra_Map & OperatorDomainMap() const
Returns the operator domain map of the non-reordered matrix.
virtual int NumGlobalCols() const
Returns the number of global columns.
virtual ~Ifpack_ReorderFilter()
Destructor.
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...
virtual int ExtractDiagonalCopy(Epetra_Vector &Diagonal) const
Extracts a copy of the diagonal of the reordered matrix.