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