Isorropia::Epetra::Library Class Reference

An implementation of the Partitioner interface that operates on Epetra matrices and linear systems. More...

#include <Isorropia_EpetraLibrary.hpp>

Inheritance diagram for Isorropia::Epetra::Library:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Library (Teuchos::RCP< const Epetra_CrsGraph > input_graph)
 Library (Teuchos::RCP< const Epetra_CrsGraph > input_graph, Teuchos::RCP< CostDescriber > costs)
 Library (Teuchos::RCP< const Epetra_RowMatrix > input_matrix)
 Library (Teuchos::RCP< const Epetra_RowMatrix > input_matrix, Teuchos::RCP< CostDescriber > costs)
virtual ~Library ()
void setInput (Teuchos::RCP< const Epetra_CrsGraph > input_graph)
void setInput (Teuchos::RCP< const Epetra_CrsGraph > input_graph, Teuchos::RCP< CostDescriber > costs)
void setInput (Teuchos::RCP< const Epetra_RowMatrix > input_matrix)
void setInput (Teuchos::RCP< const Epetra_RowMatrix > input_matrix, Teuchos::RCP< CostDescriber > costs)
virtual int repartition (Teuchos::ParameterList &paramlist, std::vector< int > &myNewElements, int &exportsSize, std::vector< int > &imports)=0
virtual int color (Teuchos::ParameterList &paramlist, std::vector< int > &myNewElements)=0
virtual int order (Teuchos::ParameterList &paramlist, std::vector< int > &myNewElements)=0
void setInputType (std::string inputType)

Protected Member Functions

virtual int precompute ()
virtual int postcompute ()=0

Protected Attributes

std::string inputType_
Teuchos::RCP< const Epetra_BlockMap > input_map_
Teuchos::RCP< const Epetra_CrsGraph > input_graph_
Teuchos::RCP< const Epetra_RowMatrix > input_matrix_
Teuchos::RCP< Isorropia::Epetra::CostDescribercosts_
Teuchos::RCP< Epetra_Vector > weights_

Detailed Description

An implementation of the Partitioner interface that operates on Epetra matrices and linear systems.


Constructor & Destructor Documentation

Isorropia::Epetra::Library::Library ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph  ) 

Isorropia::Epetra::Library::Library ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph,
Teuchos::RCP< CostDescriber costs 
)

Isorropia::Epetra::Library::Library ( Teuchos::RCP< const Epetra_RowMatrix >  input_matrix  ) 

Isorropia::Epetra::Library::Library ( Teuchos::RCP< const Epetra_RowMatrix >  input_matrix,
Teuchos::RCP< CostDescriber costs 
)

virtual Isorropia::Epetra::Library::~Library (  )  [virtual]


Member Function Documentation

void Isorropia::Epetra::Library::setInput ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph  ) 

void Isorropia::Epetra::Library::setInput ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph,
Teuchos::RCP< CostDescriber costs 
)

void Isorropia::Epetra::Library::setInput ( Teuchos::RCP< const Epetra_RowMatrix >  input_matrix  ) 

void Isorropia::Epetra::Library::setInput ( Teuchos::RCP< const Epetra_RowMatrix >  input_matrix,
Teuchos::RCP< CostDescriber costs 
)

virtual int Isorropia::Epetra::Library::repartition ( Teuchos::ParameterList &  paramlist,
std::vector< int > &  myNewElements,
int &  exportsSize,
std::vector< int > &  imports 
) [pure virtual]

Implemented in Isorropia::Epetra::InternalPartitioner, and Isorropia::Epetra::ZoltanLibClass.

virtual int Isorropia::Epetra::Library::color ( Teuchos::ParameterList &  paramlist,
std::vector< int > &  myNewElements 
) [pure virtual]

Implemented in Isorropia::Epetra::InternalPartitioner, and Isorropia::Epetra::ZoltanLibClass.

virtual int Isorropia::Epetra::Library::order ( Teuchos::ParameterList &  paramlist,
std::vector< int > &  myNewElements 
) [pure virtual]

Implemented in Isorropia::Epetra::InternalPartitioner, and Isorropia::Epetra::ZoltanLibClass.

void Isorropia::Epetra::Library::setInputType ( std::string  inputType  )  [inline]

virtual int Isorropia::Epetra::Library::precompute (  )  [protected, virtual]

Reimplemented in Isorropia::Epetra::InternalPartitioner, and Isorropia::Epetra::ZoltanLibClass.

virtual int Isorropia::Epetra::Library::postcompute (  )  [protected, pure virtual]

Implemented in Isorropia::Epetra::InternalPartitioner, and Isorropia::Epetra::ZoltanLibClass.


Member Data Documentation

std::string Isorropia::Epetra::Library::inputType_ [protected]

Teuchos::RCP<const Epetra_BlockMap> Isorropia::Epetra::Library::input_map_ [protected]

Teuchos::RCP<const Epetra_CrsGraph> Isorropia::Epetra::Library::input_graph_ [protected]

Teuchos::RCP<const Epetra_RowMatrix> Isorropia::Epetra::Library::input_matrix_ [protected]

Teuchos::RCP<Isorropia::Epetra::CostDescriber> Isorropia::Epetra::Library::costs_ [protected]

Teuchos::RCP<Epetra_Vector> Isorropia::Epetra::Library::weights_ [protected]


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