Isorropia::Epetra::Prober Class Reference

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

#include <Isorropia_EpetraProber.hpp>

Collaboration diagram for Isorropia::Epetra::Prober:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Prober (Teuchos::RCP< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList &paramlist, bool compute_now=true)
 Constructor.
 Prober (Teuchos::RCP< const Epetra_CrsMatrix > input_matrix, const Teuchos::ParameterList &paramlist, bool compute_now=true)
 Constructor.
 Prober ()
 Default Constructor.
 ~Prober ()
 Destructor.
void setList (const Teuchos::ParameterList &paramlist)
 Sets the parameter list.
void setGraph (Teuchos::RCP< const Epetra_CrsGraph > input_graph)
 Sets the graph.
void color ()
 Compute the coloring.
int probe (const Epetra_Operator &op, Epetra_CrsMatrix &out_matrix)
 Perform the actual probing.
Teuchos::RCP< Epetra_CrsMatrix > probe (const Epetra_Operator &op)
 Perform the actual probing.

Private Attributes

Teuchos::RCP< const Epetra_CrsGraph > input_graph_
Colorercolorer_
Teuchos::ParameterList List_
bool has_colored

Detailed Description

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

The Prober currently works only on structurally symmetric problems. Support for structually non-symmetric problems is under development.


Constructor & Destructor Documentation

Isorropia::Epetra::Prober::Prober ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph,
const Teuchos::ParameterList &  paramlist,
bool  compute_now = true 
)

Constructor.

Parameters:
[in] input_graph the graph whose sparsity pattern is to guide the probing.
[in] paramlist this parameter list may be used to pass parameters to the colorer.
[in] compute_now if true, the coloring is computed in the constructor, otherwise call Isorropia::Epetra::Prober::color when you want to compute the coloring, defaults to false

Isorropia::Epetra::Prober::Prober ( Teuchos::RCP< const Epetra_CrsMatrix >  input_matrix,
const Teuchos::ParameterList &  paramlist,
bool  compute_now = true 
)

Constructor.

Parameters:
[in] input_matrix the matrix whose sparsity pattern is to guide the probing.
[in] paramlist this parameter list may be used to pass parameters to the colorer.
[in] compute_now if true, the coloring is computed in the constructor, otherwise call Isorropia::Epetra::Prober::color when you want to compute the coloring, defaults to true

Isorropia::Epetra::Prober::Prober (  ) 

Default Constructor.

Isorropia::Epetra::Prober::~Prober (  )  [inline]

Destructor.


Member Function Documentation

void Isorropia::Epetra::Prober::setList ( const Teuchos::ParameterList &  paramlist  ) 

Sets the parameter list.

void Isorropia::Epetra::Prober::setGraph ( Teuchos::RCP< const Epetra_CrsGraph >  input_graph  )  [inline]

Sets the graph.

void Isorropia::Epetra::Prober::color (  ) 

Compute the coloring.

int Isorropia::Epetra::Prober::probe ( const Epetra_Operator &  op,
Epetra_CrsMatrix &  out_matrix 
)

Perform the actual probing.

Parameters:
[in] op is the operator we are probing
in/out] out_matrix is the matrix

Teuchos::RCP<Epetra_CrsMatrix> Isorropia::Epetra::Prober::probe ( const Epetra_Operator &  op  ) 

Perform the actual probing.

Parameters:
[in] op is the operator we are probing
[out] return value is a RCP to the matrix


Member Data Documentation

Teuchos::RCP<const Epetra_CrsGraph> Isorropia::Epetra::Prober::input_graph_ [private]

Colorer* Isorropia::Epetra::Prober::colorer_ [private]

Teuchos::ParameterList Isorropia::Epetra::Prober::List_ [private]

bool Isorropia::Epetra::Prober::has_colored [private]


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