43 #ifndef IFPACK_METISREORDERING_H 
   44 #define IFPACK_METISREORDERING_H 
   46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS) 
   48 #warning "The Ifpack package is deprecated" 
   52 #include "Ifpack_ConfigDefs.h" 
   53 #include "Ifpack_Reordering.h" 
   54 #include "Epetra_RowMatrix.h" 
   55 #include "Teuchos_ParameterList.hpp" 
   56 #include "Teuchos_RefCountPtr.hpp" 
   79     if (Name == 
"partitioner: use symmetric graph")
 
   80       UseSymmetricGraph_ = (bool)Value;
 
   93     UseSymmetricGraph_ = List.get(
"partitioner: use symmetric graph",
 
  112   virtual int Reorder(
const int i) 
const;
 
  126   virtual std::ostream& 
Print(std::ostream& os) 
const;
 
  130   bool UseSymmetricGraph_;
 
  136   std::vector<int> Reorder_;
 
  138   std::vector<int> InvReorder_;
 
  142 #endif // IFPACK_METISREORDERING_H 
virtual int SetParameters(Teuchos::ParameterList &List)
Sets all the parameters for the partitioner (none at moment). 
Ifpack_METISReordering: A class to reorder a graph using METIS. 
virtual int Pinv(const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const 
Applies inverse reordering to multivector Xorig, whose local length equals the number of local rows...
virtual bool IsComputed() const 
Returns true is the reordering object has been successfully initialized, false otherwise. 
Ifpack_METISReordering()
Constructor. 
Ifpack_Reordering: basic class for reordering for a Ifpack_Graph object. 
virtual int Reorder(const int i) const 
Returns the reordered index of row i. 
virtual int InvReorder(const int i) const 
Returns the inverse reordered index of row i. 
virtual int SetParameter(const std::string, const double)
Sets double parameters `Name'. 
virtual int Compute(const Ifpack_Graph &Graph)
Computes all it is necessary to initialize the reordering object. 
virtual ~Ifpack_METISReordering()
Destructor. 
Ifpack_Graph: a pure virtual class that defines graphs for IFPACK. 
virtual int SetParameter(const std::string Name, const int Value)
Sets integer parameters `Name'. 
virtual int P(const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const 
Applies reordering to multivector Xorig, whose local length equals the number of local rows...
virtual std::ostream & Print(std::ostream &os) const 
Prints basic information on iostream. This function is used by operator<<.