Epetra  Development
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for Epetra_OffsetIndex:
Collaboration graph
[legend]

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.
 
Print object to an output stream
virtual void Print (std::ostream &os) const
 
- 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 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 *. More...
 
virtual const char * Label () const
 Epetra_Object Label access funtion. More...
 

Public Attributes

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

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.
 
static std::ostream & GetTracebackStream ()
 Get the output stream for error reporting.
 
- 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
 

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

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: