Epetra_OffsetIndex Class Reference

Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph based object to another. More...

#include <Epetra_OffsetIndex.h>

Inheritance diagram for Epetra_OffsetIndex:

[legend]
List of all members.

Print object to an output stream

virtual void Print (ostream &os) const
 Print object to an output stream Print method.

Public Member Functions

 Epetra_OffsetIndex (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, Epetra_Import &Importer)
 Constructs a Epetra_OffsetIndex object from the graphs and an importer.
 Epetra_OffsetIndex (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, Epetra_Export &Exporter)
 Constructs a Epetra_OffsetIndex object from the graphs and an exporter.
 Epetra_OffsetIndex (const Epetra_OffsetIndex &Indexor)
 Epetra_OffsetIndex copy constructor.
virtual ~Epetra_OffsetIndex (void)
 Epetra_OffsetIndex destructor.
int ** SameOffsets () const
 Accessor.
int ** PermuteOffsets () const
 Accessor.
int ** RemoteOffsets () const
 Accessor.

Public Attributes

int NumSame_
int ** SameOffsets_
int NumPermute_
int ** PermuteOffsets_
int NumExport_
int NumRemote_
int ** RemoteOffsets_
bool DataOwned_

Private Member Functions

void GenerateLocalOffsets_ (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, const int *PermuteLIDs)
void GenerateRemoteOffsets_ (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, const int *ExportLIDs, const int *RemoteLIDs, Epetra_Distributor &Distor)
Epetra_OffsetIndexoperator= (const Epetra_OffsetIndex &Indexor)
 Epetra_OffsetIndex copy constructor.

Detailed Description

Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph based object to another.

Epetra_OffsetIndex generates and index of offsets allowing direct access to data for Import/Export operations on Epetra_CrsGraph based objects such as Epetra_CrsMatrix.

Definition at line 47 of file Epetra_OffsetIndex.h.


Constructor & Destructor Documentation

Epetra_OffsetIndex::Epetra_OffsetIndex const Epetra_CrsGraph SourceGraph,
const Epetra_CrsGraph TargetGraph,
Epetra_Import Importer
 

Constructs a Epetra_OffsetIndex object from the graphs and an importer.

Definition at line 38 of file Epetra_OffsetIndex.cpp.

Epetra_OffsetIndex::Epetra_OffsetIndex const Epetra_CrsGraph SourceGraph,
const Epetra_CrsGraph TargetGraph,
Epetra_Export Exporter
 

Constructs a Epetra_OffsetIndex object from the graphs and an exporter.

Definition at line 72 of file Epetra_OffsetIndex.cpp.

Epetra_OffsetIndex::Epetra_OffsetIndex const Epetra_OffsetIndex Indexor  ) 
 

Epetra_OffsetIndex copy constructor.

Definition at line 106 of file Epetra_OffsetIndex.cpp.

Epetra_OffsetIndex::~Epetra_OffsetIndex void   )  [virtual]
 

Epetra_OffsetIndex destructor.

Definition at line 121 of file Epetra_OffsetIndex.cpp.


Member Function Documentation

void Epetra_OffsetIndex::Print ostream &  os  )  const [virtual]
 

Print object to an output stream Print method.

Reimplemented from Epetra_Object.

Definition at line 277 of file Epetra_OffsetIndex.cpp.

int** Epetra_OffsetIndex::SameOffsets  )  const [inline]
 

Accessor.

Definition at line 73 of file Epetra_OffsetIndex.h.

int** Epetra_OffsetIndex::PermuteOffsets  )  const [inline]
 

Accessor.

Definition at line 76 of file Epetra_OffsetIndex.h.

int** Epetra_OffsetIndex::RemoteOffsets  )  const [inline]
 

Accessor.

Definition at line 79 of file Epetra_OffsetIndex.h.

void Epetra_OffsetIndex::GenerateLocalOffsets_ const Epetra_CrsGraph SourceGraph,
const Epetra_CrsGraph TargetGraph,
const int *  PermuteLIDs
[private]
 

Definition at line 138 of file Epetra_OffsetIndex.cpp.

void Epetra_OffsetIndex::GenerateRemoteOffsets_ const Epetra_CrsGraph SourceGraph,
const Epetra_CrsGraph TargetGraph,
const int *  ExportLIDs,
const int *  RemoteLIDs,
Epetra_Distributor Distor
[private]
 

Definition at line 200 of file Epetra_OffsetIndex.cpp.

Epetra_OffsetIndex& Epetra_OffsetIndex::operator= const Epetra_OffsetIndex Indexor  )  [private]
 

Epetra_OffsetIndex copy constructor.


Member Data Documentation

int Epetra_OffsetIndex::NumSame_
 

Definition at line 97 of file Epetra_OffsetIndex.h.

int** Epetra_OffsetIndex::SameOffsets_
 

Definition at line 98 of file Epetra_OffsetIndex.h.

int Epetra_OffsetIndex::NumPermute_
 

Definition at line 99 of file Epetra_OffsetIndex.h.

int** Epetra_OffsetIndex::PermuteOffsets_
 

Definition at line 100 of file Epetra_OffsetIndex.h.

int Epetra_OffsetIndex::NumExport_
 

Definition at line 101 of file Epetra_OffsetIndex.h.

int Epetra_OffsetIndex::NumRemote_
 

Definition at line 102 of file Epetra_OffsetIndex.h.

int** Epetra_OffsetIndex::RemoteOffsets_
 

Definition at line 103 of file Epetra_OffsetIndex.h.

bool Epetra_OffsetIndex::DataOwned_
 

Definition at line 105 of file Epetra_OffsetIndex.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:38:06 2008 for Epetra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1