ShyLU
Version of the Day
|
PartitionInterface class templated on Epetra/Tpetra Matrix and Vector. More...
#include <shylu_partition_interface_decl.hpp>
Public Member Functions | |
PartitionInterface (Matrix *inA, Teuchos::ParameterList *pList) | |
Main constructor of class. More... | |
int | partition () |
Matrix * | reorderMatrix () |
Vector * | reorderVector (Vector *x) |
template<> | |
int | partition () |
template<> | |
Epetra_CrsMatrix * | reorderMatrix () |
template<> | |
Epetra_MultiVector * | reorderVector (Epetra_MultiVector *x) |
PartitionInterface class templated on Epetra/Tpetra Matrix and Vector.
This class acts as an interface that will allow Shylu to call either Zoltan(Isorropia)/Zoltan2 without having to address if the matrix/submatrix is either Epetra or Tpetra form. Currently: Only limited support for different partitioners has been added
Definition at line 94 of file shylu_partition_interface_decl.hpp.
ShyLU::PartitionInterface< Matrix, Vector >::PartitionInterface | ( | Matrix * | inA, |
Teuchos::ParameterList * | pList | ||
) |
Main constructor of class.
This constructor requires a Teuchos ParameterList that provide information on the partitioning method. It assumes that the correct sublist matches the packaged called based on matrix type (Epetra/Tpetra)
Definition at line 79 of file shylu_partition_interface_def.hpp.