Epetra Development
Loading...
Searching...
No Matches
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:
Collaboration diagram for Epetra_OffsetIndex:

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.
Public Member Functions inherited from Epetra_Object
 Epetra_Object (int TracebackModeIn=-1, bool set_label=true)
 Epetra_Object Constructor.
 Epetra_Object (const char *const Label, int TracebackModeIn=-1)
 Epetra_Object Constructor.
 Epetra_Object (const Epetra_Object &Object)
 Epetra_Object Copy Constructor.
virtual ~Epetra_Object ()
 Epetra_Object Destructor.
virtual int ReportError (const std::string Message, int ErrorCode) const
 Error reporting method.
virtual void SetLabel (const char *const Label)
 Epetra_Object Label definition using char *.
virtual const char * Label () const
 Epetra_Object Label access funtion.

Print object to an output stream

int NumSame_
int ** SameOffsets_
int NumPermute_
int ** PermuteOffsets_
int NumExport_
int NumRemote_
int ** RemoteOffsets_
bool DataOwned_
virtual void Print (std::ostream &os) const
int ** SameOffsets () const
 Accessor.
int ** PermuteOffsets () const
 Accessor.
int ** RemoteOffsets () const
 Accessor.

Additional Inherited Members

static void SetTracebackMode (int TracebackModeValue)
 Set the value of the Epetra_Object error traceback report mode.
static int GetTracebackMode ()
 Get the value of the Epetra_Object error report mode.
static std::ostream & GetTracebackStream ()
 Get the output stream for error reporting.
static int TracebackMode
std::string toString (const int &x) const
std::string toString (const long long &x) const
std::string toString (const double &x) const

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.

Member Function Documentation

◆ Print()

virtual void Epetra_OffsetIndex::Print ( std::ostream & os) const
virtual

Print object to an output stream Print method

Reimplemented from Epetra_Object.


The documentation for this class was generated from the following file: