EpetraExt_Redistor Class Reference

EpetraExt_Redistor: simple class to facilitate redistribution of Epetra_DistObject's. More...

#include <EpetraExt_Redistor.h>

Collaboration diagram for EpetraExt_Redistor:

[legend]
List of all members.

Public Member Functions

 EpetraExt_Redistor (const Epetra_BlockMap &SourceMap)
 Initializes object from SourceMap, to map with all elements on processor 0.
 EpetraExt_Redistor (const Epetra_BlockMap &SourceMap, const int NumTargetProcs)
 Initializes object from SourceMap, to linear map defined on the first NumTargetProcs processors.
 EpetraExt_Redistor (const Epetra_BlockMap &SourceMap, const Epetra_BlockMap &TargetMap)
 Initializes object from SourceMap to TargetMap.
int SourceImport (Epetra_DistObject &Source, Epetra_DistObject &Target) const
 Imports distributed object, defined on SourceMap, from an object defined on TargetMap.
int TargetImport (Epetra_DistObject &Source, Epetra_DistObject &Target) const
 Imports distributed object, defined on TargetMap, from an object defined on SourceMap.
int SourceImport (Epetra_DistObject &Source, Epetra_DistObject &Target, Epetra_CombineMode CombineMode) const
 Imports distributed object, defined on SourceMap, from an object defined on TargetMap using specified CombineMode.
int TargetImport (Epetra_DistObject &Source, Epetra_DistObject &Target, Epetra_CombineMode CombineMode) const
 Imports distributed object, defined on TargetMap, from an object defined on SourceMap using specified CombineMode.
Epetra_BlockMapSourceMap () const
 Returns a pointer to the SourceMap.
Epetra_BlockMapTargetMap () const
 Returns a pointer to the TargetMap.
Epetra_ImportSourceImporter () const
 Returns a pointer to the Epetra_Import object from SourceMap to TargetMap.
Epetra_ImportTargetImporter () const
 Returns a pointer to the Epetra_Import object from TargetMap to SourceMap.

Detailed Description

EpetraExt_Redistor: simple class to facilitate redistribution of Epetra_DistObject's.

EpetraExt_Redistor: a simple class to facilitate the redistribution of Epetra_DistObject's. An example of use of this class is the redistribution of matrix, LHS and RHS from a given map, to another map, so that the given DistObject can be converted to a non-epetra format:


Constructor & Destructor Documentation

EpetraExt_Redistor::EpetraExt_Redistor const Epetra_BlockMap SourceMap,
const int  NumTargetProcs
 

Initializes object from SourceMap, to linear map defined on the first NumTargetProcs processors.

Initializes object for redistributions from SourceMap, to a linear map (with the same number of elements), defined on the first NumTargetProcs.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:42:58 2008 for Amesos by doxygen 1.3.9.1