EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EpetraExt::LightweightMap Class Reference

#include <EpetraExt_MMHelpers.h>

Public Member Functions

 LightweightMap ()
 
 LightweightMap (int NumGlobalElements, int NumMyElements, const int *MyGlobalElements, int IndexBase, bool GenerateHash=true)
 
 LightweightMap (long long NumGlobalElements, int NumMyElements, const long long *MyGlobalElements, int IndexBase, bool GenerateHash=true)
 
 LightweightMap (long long NumGlobalElements, int NumMyElements, const long long *MyGlobalElements, long long IndexBase, bool GenerateHash=true)
 
 LightweightMap (const Epetra_Map &Map)
 
 LightweightMap (const LightweightMap &Map)
 
 ~LightweightMap ()
 
LightweightMapoperator= (const LightweightMap &map)
 
int LID (int GID) const
 
int GID (int LID) const
 
int LID (long long GID) const
 
long long GID64 (int LID) const
 
int NumMyElements () const
 
int * MyGlobalElements () const
 
int IndexBase () const
 
void MyGlobalElementsPtr (int *&MyGlobalElementList) const
 
long long * MyGlobalElements64 () const
 
void MyGlobalElementsPtr (long long *&MyGlobalElementList) const
 
long long IndexBase64 () const
 
int MinLID () const
 
int MaxLID () const
 
bool GlobalIndicesInt () const
 
bool GlobalIndicesLongLong () const
 

Private Member Functions

void CleanupData ()
 
void Construct_int (int NumGlobalElements, int NumMyElements, const int *MyGlobalElements, long long IndexBase, bool GenerateHash=true)
 
void Construct_LL (long long NumGlobalElements, int NumMyElements, const long long *MyGlobalElements, long long IndexBase, bool GenerateHash=true)
 

Private Attributes

LightweightMapDataData_
 
bool IsLongLong
 
bool IsInt
 

Detailed Description

Definition at line 230 of file EpetraExt_MMHelpers.h.

Constructor & Destructor Documentation

EpetraExt::LightweightMap::LightweightMap ( )

Definition at line 573 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::LightweightMap ( int  NumGlobalElements,
int  NumMyElements,
const int *  MyGlobalElements,
int  IndexBase,
bool  GenerateHash = true 
)

Definition at line 611 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::LightweightMap ( long long  NumGlobalElements,
int  NumMyElements,
const long long *  MyGlobalElements,
int  IndexBase,
bool  GenerateHash = true 
)

Definition at line 618 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::LightweightMap ( long long  NumGlobalElements,
int  NumMyElements,
const long long *  MyGlobalElements,
long long  IndexBase,
bool  GenerateHash = true 
)

Definition at line 623 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::LightweightMap ( const Epetra_Map Map)

Definition at line 630 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::LightweightMap ( const LightweightMap Map)

Definition at line 639 of file EpetraExt_MMHelpers.cpp.

EpetraExt::LightweightMap::~LightweightMap ( )

Definition at line 648 of file EpetraExt_MMHelpers.cpp.

Member Function Documentation

LightweightMap & EpetraExt::LightweightMap::operator= ( const LightweightMap map)

Definition at line 653 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::LID ( int  GID) const

Definition at line 704 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::GID ( int  LID) const

Definition at line 729 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::LID ( long long  GID) const

Definition at line 715 of file EpetraExt_MMHelpers.cpp.

long long EpetraExt::LightweightMap::GID64 ( int  LID) const

Definition at line 735 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::NumMyElements ( ) const

Definition at line 687 of file EpetraExt_MMHelpers.cpp.

int * EpetraExt::LightweightMap::MyGlobalElements ( ) const

Definition at line 756 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::IndexBase ( ) const
inline

Definition at line 264 of file EpetraExt_MMHelpers.h.

void EpetraExt::LightweightMap::MyGlobalElementsPtr ( int *&  MyGlobalElementList) const

Definition at line 676 of file EpetraExt_MMHelpers.cpp.

long long * EpetraExt::LightweightMap::MyGlobalElements64 ( ) const

Definition at line 763 of file EpetraExt_MMHelpers.cpp.

void EpetraExt::LightweightMap::MyGlobalElementsPtr ( long long *&  MyGlobalElementList) const

Definition at line 681 of file EpetraExt_MMHelpers.cpp.

long long EpetraExt::LightweightMap::IndexBase64 ( ) const
inline

Definition at line 276 of file EpetraExt_MMHelpers.h.

int EpetraExt::LightweightMap::MinLID ( ) const

Definition at line 771 of file EpetraExt_MMHelpers.cpp.

int EpetraExt::LightweightMap::MaxLID ( ) const

Definition at line 777 of file EpetraExt_MMHelpers.cpp.

bool EpetraExt::LightweightMap::GlobalIndicesInt ( ) const
inline

Definition at line 281 of file EpetraExt_MMHelpers.h.

bool EpetraExt::LightweightMap::GlobalIndicesLongLong ( ) const
inline

Definition at line 282 of file EpetraExt_MMHelpers.h.

void EpetraExt::LightweightMap::CleanupData ( )
private

Definition at line 666 of file EpetraExt_MMHelpers.cpp.

void EpetraExt::LightweightMap::Construct_int ( int  NumGlobalElements,
int  NumMyElements,
const int *  MyGlobalElements,
long long  IndexBase,
bool  GenerateHash = true 
)
private

Definition at line 577 of file EpetraExt_MMHelpers.cpp.

void EpetraExt::LightweightMap::Construct_LL ( long long  NumGlobalElements,
int  NumMyElements,
const long long *  MyGlobalElements,
long long  IndexBase,
bool  GenerateHash = true 
)
private

Definition at line 594 of file EpetraExt_MMHelpers.cpp.

Member Data Documentation

LightweightMapData* EpetraExt::LightweightMap::Data_
private

Definition at line 285 of file EpetraExt_MMHelpers.h.

bool EpetraExt::LightweightMap::IsLongLong
private

Definition at line 286 of file EpetraExt_MMHelpers.h.

bool EpetraExt::LightweightMap::IsInt
private

Definition at line 287 of file EpetraExt_MMHelpers.h.


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