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]

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.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 63 of file Ifpack_EquationPartitioner.h.

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

Destructor.

Definition at line 68 of file Ifpack_EquationPartitioner.h.


Member Function Documentation

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

Sets all the parameters for the partitioner.

Implements Ifpack_OverlappingPartitioner.

Definition at line 71 of file Ifpack_EquationPartitioner.h.

int Ifpack_EquationPartitioner::ComputePartitions (  )  [virtual]

Computes the partitions. Returns 0 if successful.

Implements Ifpack_OverlappingPartitioner.

Definition at line 37 of file Ifpack_EquationPartitioner.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:05:40 2011 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.6.3