Epetra Package Browser (Single Doxygen Collection)
Development
|
Epetra_OffsetIndex: This class builds index for efficient mapping of data from one Epetra_CrsGraph based object to another. More...
#include <Epetra_OffsetIndex.h>
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. More... | |
Epetra_OffsetIndex (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, Epetra_Export &Exporter) | |
Constructs a Epetra_OffsetIndex object from the graphs and an exporter. More... | |
Epetra_OffsetIndex (const Epetra_OffsetIndex &Indexor) | |
Epetra_OffsetIndex copy constructor. More... | |
virtual | ~Epetra_OffsetIndex (void) |
Epetra_OffsetIndex destructor. More... | |
int ** | SameOffsets () const |
Accessor. More... | |
int ** | PermuteOffsets () const |
Accessor. More... | |
int ** | RemoteOffsets () const |
Accessor. More... | |
Public Member Functions inherited from Epetra_Object | |
Epetra_Object (int TracebackModeIn=-1, bool set_label=true) | |
Epetra_Object Constructor. More... | |
Epetra_Object (const char *const Label, int TracebackModeIn=-1) | |
Epetra_Object Constructor. More... | |
Epetra_Object (const Epetra_Object &Object) | |
Epetra_Object Copy Constructor. More... | |
virtual | ~Epetra_Object () |
Epetra_Object Destructor. More... | |
virtual void | SetLabel (const char *const Label) |
Epetra_Object Label definition using char *. More... | |
virtual const char * | Label () const |
Epetra_Object Label access funtion. More... | |
virtual int | ReportError (const std::string Message, int ErrorCode) const |
Error reporting method. More... | |
Public Attributes | |
int | NumSame_ |
int ** | SameOffsets_ |
int | NumPermute_ |
int ** | PermuteOffsets_ |
int | NumExport_ |
int | NumRemote_ |
int ** | RemoteOffsets_ |
bool | DataOwned_ |
Private Member Functions | |
template<typename int_type > | |
void | GenerateLocalOffsets_ (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, const int *PermuteLIDs) |
template<typename int_type > | |
void | GenerateRemoteOffsets_ (const Epetra_CrsGraph &SourceGraph, const Epetra_CrsGraph &TargetGraph, const int *ExportLIDs, const int *RemoteLIDs, Epetra_Distributor &Distor) |
Epetra_OffsetIndex & | operator= (const Epetra_OffsetIndex &Indexor) |
Epetra_OffsetIndex copy constructor. More... | |
Print object to an output stream | |
virtual void | Print (std::ostream &os) const |
Print object to an output stream Print method. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Epetra_Object | |
static void | SetTracebackMode (int TracebackModeValue) |
Set the value of the Epetra_Object error traceback report mode. More... | |
static int | GetTracebackMode () |
Get the value of the Epetra_Object error report mode. More... | |
static std::ostream & | GetTracebackStream () |
Get the output stream for error reporting. More... | |
Static Public Attributes inherited from Epetra_Object | |
static int | TracebackMode |
Protected Member Functions inherited from Epetra_Object | |
std::string | toString (const int &x) const |
std::string | toString (const long long &x) const |
std::string | toString (const double &x) const |
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 60 of file Epetra_OffsetIndex.h.
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 52 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 108 of file Epetra_OffsetIndex.cpp.
Epetra_OffsetIndex::Epetra_OffsetIndex | ( | const Epetra_OffsetIndex & | Indexor | ) |
Epetra_OffsetIndex copy constructor.
Definition at line 164 of file Epetra_OffsetIndex.cpp.
|
virtual |
Epetra_OffsetIndex destructor.
Definition at line 179 of file Epetra_OffsetIndex.cpp.
|
virtual |
Print object to an output stream Print method.
Reimplemented from Epetra_Object.
Definition at line 343 of file Epetra_OffsetIndex.cpp.
|
inline |
Accessor.
Definition at line 86 of file Epetra_OffsetIndex.h.
|
inline |
Accessor.
Definition at line 89 of file Epetra_OffsetIndex.h.
|
inline |
Accessor.
Definition at line 92 of file Epetra_OffsetIndex.h.
|
private |
Definition at line 197 of file Epetra_OffsetIndex.cpp.
|
private |
Definition at line 260 of file Epetra_OffsetIndex.cpp.
|
private |
Epetra_OffsetIndex copy constructor.
int Epetra_OffsetIndex::NumSame_ |
Definition at line 112 of file Epetra_OffsetIndex.h.
int** Epetra_OffsetIndex::SameOffsets_ |
Definition at line 113 of file Epetra_OffsetIndex.h.
int Epetra_OffsetIndex::NumPermute_ |
Definition at line 114 of file Epetra_OffsetIndex.h.
int** Epetra_OffsetIndex::PermuteOffsets_ |
Definition at line 115 of file Epetra_OffsetIndex.h.
int Epetra_OffsetIndex::NumExport_ |
Definition at line 116 of file Epetra_OffsetIndex.h.
int Epetra_OffsetIndex::NumRemote_ |
Definition at line 117 of file Epetra_OffsetIndex.h.
int** Epetra_OffsetIndex::RemoteOffsets_ |
Definition at line 118 of file Epetra_OffsetIndex.h.
bool Epetra_OffsetIndex::DataOwned_ |
Definition at line 120 of file Epetra_OffsetIndex.h.