Ifpack_METISPartitioner Class Reference

Ifpack_METISPartitioner: A class to decompose Ifpack_Graph's using METIS. More...

#include <Ifpack_METISPartitioner.h>

Inheritance diagram for Ifpack_METISPartitioner:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Ifpack_METISPartitioner (const Ifpack_Graph *Graph)
 Constructor.
virtual ~Ifpack_METISPartitioner ()
 Destructor.
int SetPartitionParameters (Teuchos::ParameterList &List)
 Sets all the parameters for the partitioner (none at moment).
int ComputePartitions ()
 Computes the partitions. Returns 0 if successful.

Private Attributes

bool UseSymmetricGraph_

Detailed Description

Ifpack_METISPartitioner: A class to decompose Ifpack_Graph's using METIS.

Class Ifpack_METISPartitioner enables the decomposition of the local Ifpack_Graph's using METIS. In order to work properly, this class requires IFPACK to be configured with option --enable-ifpack-metis. Otherwise, this class will always create one partition.

Date:
Last modified: Oct-04.

Definition at line 52 of file Ifpack_METISPartitioner.h.


Constructor & Destructor Documentation

Ifpack_METISPartitioner::Ifpack_METISPartitioner ( const Ifpack_Graph Graph  )  [inline]

Constructor.

Definition at line 57 of file Ifpack_METISPartitioner.h.

virtual Ifpack_METISPartitioner::~Ifpack_METISPartitioner (  )  [inline, virtual]

Destructor.

Definition at line 63 of file Ifpack_METISPartitioner.h.


Member Function Documentation

int Ifpack_METISPartitioner::SetPartitionParameters ( Teuchos::ParameterList &  List  )  [inline, virtual]

Sets all the parameters for the partitioner (none at moment).

Implements Ifpack_OverlappingPartitioner.

Definition at line 66 of file Ifpack_METISPartitioner.h.

int Ifpack_METISPartitioner::ComputePartitions (  )  [virtual]

Computes the partitions. Returns 0 if successful.

Implements Ifpack_OverlappingPartitioner.

Definition at line 63 of file Ifpack_METISPartitioner.cpp.


Member Data Documentation

bool Ifpack_METISPartitioner::UseSymmetricGraph_ [private]

Definition at line 83 of file Ifpack_METISPartitioner.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:27:26 2010 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.4.7