#include <Ifpack_METISPartitioner.h>
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. |
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.
Ifpack_METISPartitioner::Ifpack_METISPartitioner | ( | const Ifpack_Graph * | Graph | ) | [inline] |
Constructor.
virtual Ifpack_METISPartitioner::~Ifpack_METISPartitioner | ( | ) | [inline, virtual] |
Destructor.
int Ifpack_METISPartitioner::ComputePartitions | ( | ) | [virtual] |
int Ifpack_METISPartitioner::SetPartitionParameters | ( | Teuchos::ParameterList & | List | ) | [inline, virtual] |
Sets all the parameters for the partitioner (none at moment).
Implements Ifpack_OverlappingPartitioner.