Ifpack_EquationPartitioner Class Reference

Ifpack_EquationPartitioner: A class to decompose an Ifpack_Graph so that each block will contain all the rows for a different equation. More...

#include <Ifpack_EquationPartitioner.h>

Inheritance diagram for Ifpack_EquationPartitioner:

Inheritance graph
[legend]
Collaboration diagram for Ifpack_EquationPartitioner:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Ifpack_EquationPartitioner: A class to decompose an Ifpack_Graph so that each block will contain all the rows for a different equation.

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.

Note:
It is required that NumRows % NumLocalParts() = 0.
Date:
Sep-04.

Definition at line 58 of file Ifpack_EquationPartitioner.h.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:30:19 2010 for IFPACK by  doxygen 1.4.7