#include <Ifpack_EquationPartitioner.h>
Public Member Functions | |
Ifpack_EquationPartitioner (const Ifpack_Graph *Graph) | |
Constructor. | |
virtual | ~Ifpack_EquationPartitioner () |
Destructor. | |
int | SetPartitionParameters (Teuchos::ParameterList &List) |
Sets all the parameters for the partitioner. | |
int | ComputePartitions () |
Computes the partitions. Returns 0 if successful. |
Ifpack_EquationPartitioner enables a decomposition into blocks of equations. Suppose that the input Ifpack_Graph is based on an Epetra_RowMatrix, whose rows represent (U_i,V_i,P_i) for each grid node i. This partitioner will decompose the graph into three subgraphs, each of them containing the rows of U, then V, than P.
The number of equations is set as the number of local partitions.
Ifpack_EquationPartitioner::Ifpack_EquationPartitioner | ( | const Ifpack_Graph * | Graph | ) | [inline] |
Constructor.
virtual Ifpack_EquationPartitioner::~Ifpack_EquationPartitioner | ( | ) | [inline, virtual] |
Destructor.
int Ifpack_EquationPartitioner::ComputePartitions | ( | ) | [virtual] |
int Ifpack_EquationPartitioner::SetPartitionParameters | ( | Teuchos::ParameterList & | List | ) | [inline, virtual] |