ShyLU  Version of the Day
Public Member Functions | List of all members
ShyLU::PartitionInterface< Matrix, Vector > Class Template Reference

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)
 

Detailed Description

template<class Matrix, class Vector>
class ShyLU::PartitionInterface< Matrix, Vector >

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.

Constructor & Destructor Documentation

◆ PartitionInterface()

template<class Matrix , class Vector >
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.


The documentation for this class was generated from the following files: