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

Epetra_CrsGraphData: The Epetra CrsGraph Data Class. More...

#include <Epetra_CrsGraphData.h>

Inheritance diagram for Epetra_CrsGraphData:
Inheritance graph
[legend]

Classes

struct  EntriesInOneRow
 Store some data for each row describing which entries of this row are nonzero. More...
 
struct  IndexData
 
struct  IndexData< int >
 
struct  IndexData< long long >
 

Private Member Functions

void Print (std::ostream &os, int level=3) const
 Outputs state of almost all data members. (primarily used for testing purposes). More...
 
Epetra_CrsGraphDataoperator= (const Epetra_CrsGraphData &CrsGraphData)
 Epetra_CrsGraphData assignment operator (not defined) More...
 
template<typename int_type >
IndexData< int_type > & Data ()
 
template<>
Epetra_CrsGraphData::IndexData
< long long > & 
Data ()
 
template<>
Epetra_CrsGraphData::IndexData
< int > & 
Data ()
 

Private Attributes

Epetra_BlockMap RowMap_
 
Epetra_BlockMap ColMap_
 
Epetra_BlockMap DomainMap_
 
Epetra_BlockMap RangeMap_
 
const Epetra_ImportImporter_
 
const Epetra_ExportExporter_
 
bool HaveColMap_
 
bool Filled_
 
bool Allocated_
 
bool Sorted_
 
bool StorageOptimized_
 
bool NoRedundancies_
 
bool IndicesAreGlobal_
 
bool IndicesAreLocal_
 
bool IndicesAreContiguous_
 
bool LowerTriangular_
 
bool UpperTriangular_
 
bool NoDiagonal_
 
bool GlobalConstantsComputed_
 
bool StaticProfile_
 
bool SortGhostsAssociatedWithEachProcessor_
 
long long IndexBase_
 
long long NumGlobalEntries_
 
long long NumGlobalBlockRows_
 
long long NumGlobalBlockCols_
 
long long NumGlobalBlockDiagonals_
 
int NumMyEntries_
 
int NumMyBlockRows_
 
int NumMyBlockCols_
 
int NumMyBlockDiagonals_
 
int MaxRowDim_
 
int MaxColDim_
 
int GlobalMaxRowDim_
 
int GlobalMaxColDim_
 
int MaxNumNonzeros_
 
int GlobalMaxNumNonzeros_
 
long long NumGlobalNonzeros_
 
long long NumGlobalRows_
 
long long NumGlobalCols_
 
long long NumGlobalDiagonals_
 
int NumMyNonzeros_
 
int NumMyRows_
 
int NumMyCols_
 
int NumMyDiagonals_
 
int MaxNumIndices_
 
int GlobalMaxNumIndices_
 
int NumTempColIndices_
 
Epetra_IntSerialDenseVector NumAllocatedIndicesPerRow_
 
Epetra_IntSerialDenseVector NumIndicesPerRow_
 
Epetra_IntSerialDenseVector IndexOffset_
 
Epetra_DataAccess CV_
 
IndexData< int > * data
 
IndexData< long long > * LL_data
 

Friends

class Epetra_CrsGraph
 
class Epetra_FECrsGraph
 
class Epetra_CrsMatrix
 

Constructor/Destructor Methods

 Epetra_CrsGraphData (Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, bool StaticProfile)
 Epetra_CrsGraphData Default Constructor. More...
 
 Epetra_CrsGraphData (Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, const Epetra_BlockMap &ColMap, bool StaticProfile)
 Epetra_CrsGraphData Constructor (user provided ColMap). More...
 
 Epetra_CrsGraphData (const Epetra_CrsGraphData &CrsGraphData)
 Epetra_CrsGraphData copy constructor (not defined). More...
 
 ~Epetra_CrsGraphData ()
 Epetra_CrsGraphData Destructor. More...
 

Helper methods called in CrsGraph. Mainly memory allocations and deallocations.

int MakeImportExport ()
 called by FillComplete (and TransformToLocal) More...
 
int ReAllocateAndCast (char *&UserPtr, int &Length, const int IntPacketSizeTimesNumTrans)
 called by PackAndPrepare More...
 

Additional Inherited Members

- Protected Member Functions inherited from Epetra_Data
 Epetra_Data ()
 Epetra_Data Serial Constructor. More...
 
 Epetra_Data (const Epetra_Data &Data)
 Epetra_Data Copy Constructor. More...
 
virtual ~Epetra_Data ()
 Epetra_Data Destructor. More...
 
void IncrementReferenceCount ()
 Increment reference count. More...
 
void DecrementReferenceCount ()
 Decrement reference count. More...
 
int ReferenceCount () const
 Get reference count. More...
 
- Protected Attributes inherited from Epetra_Data
int ReferenceCount_
 

Detailed Description

Epetra_CrsGraphData: The Epetra CrsGraph Data Class.

The Epetra_CrsGraphData class is an implementation detail of Epetra_CrsGraph. It is reference-counted, and can be shared by multiple Epetra_CrsGraph instances. It derives from Epetra_Data, and inherits reference-counting from it.

Definition at line 68 of file Epetra_CrsGraphData.h.

Constructor & Destructor Documentation

Epetra_CrsGraphData::Epetra_CrsGraphData ( Epetra_DataAccess  CV,
const Epetra_BlockMap RowMap,
bool  StaticProfile 
)
private

Epetra_CrsGraphData Default Constructor.

Definition at line 51 of file Epetra_CrsGraphData.cpp.

Epetra_CrsGraphData::Epetra_CrsGraphData ( Epetra_DataAccess  CV,
const Epetra_BlockMap RowMap,
const Epetra_BlockMap ColMap,
bool  StaticProfile 
)
private

Epetra_CrsGraphData Constructor (user provided ColMap).

Definition at line 126 of file Epetra_CrsGraphData.cpp.

Epetra_CrsGraphData::Epetra_CrsGraphData ( const Epetra_CrsGraphData CrsGraphData)
private

Epetra_CrsGraphData copy constructor (not defined).

Epetra_CrsGraphData::~Epetra_CrsGraphData ( )
private

Epetra_CrsGraphData Destructor.

Definition at line 203 of file Epetra_CrsGraphData.cpp.

Member Function Documentation

void Epetra_CrsGraphData::Print ( std::ostream &  os,
int  level = 3 
) const
private

Outputs state of almost all data members. (primarily used for testing purposes).

Output level: Uses same scheme as chmod. 4-bit = BlockMaps, 2-bit = Indices, 1-bit = Everything else. Default paramenter sets it to 3, which is everything but the BlockMaps. Commonly used options: 1 = Everything except the BlockMaps & Indices_ 2 = Just Indices_ 3 = Everything except the BlockMaps

Definition at line 293 of file Epetra_CrsGraphData.cpp.

Epetra_CrsGraphData& Epetra_CrsGraphData::operator= ( const Epetra_CrsGraphData CrsGraphData)
private

Epetra_CrsGraphData assignment operator (not defined)

int Epetra_CrsGraphData::MakeImportExport ( )
private

called by FillComplete (and TransformToLocal)

Definition at line 258 of file Epetra_CrsGraphData.cpp.

int Epetra_CrsGraphData::ReAllocateAndCast ( char *&  UserPtr,
int &  Length,
const int  IntPacketSizeTimesNumTrans 
)
private

called by PackAndPrepare

Definition at line 281 of file Epetra_CrsGraphData.cpp.

template<typename int_type >
IndexData<int_type>& Epetra_CrsGraphData::Data ( )
private
template<>
Epetra_CrsGraphData::IndexData<long long>& Epetra_CrsGraphData::Data ( )
inlineprivate

Definition at line 322 of file Epetra_CrsGraphData.h.

template<>
Epetra_CrsGraphData::IndexData<int>& Epetra_CrsGraphData::Data ( )
inlineprivate

Definition at line 332 of file Epetra_CrsGraphData.h.

Friends And Related Function Documentation

friend class Epetra_CrsGraph
friend

Definition at line 69 of file Epetra_CrsGraphData.h.

friend class Epetra_FECrsGraph
friend

Definition at line 70 of file Epetra_CrsGraphData.h.

friend class Epetra_CrsMatrix
friend

Definition at line 71 of file Epetra_CrsGraphData.h.

Member Data Documentation

Epetra_BlockMap Epetra_CrsGraphData::RowMap_
private

Definition at line 149 of file Epetra_CrsGraphData.h.

Epetra_BlockMap Epetra_CrsGraphData::ColMap_
private

Definition at line 150 of file Epetra_CrsGraphData.h.

Epetra_BlockMap Epetra_CrsGraphData::DomainMap_
private

Definition at line 151 of file Epetra_CrsGraphData.h.

Epetra_BlockMap Epetra_CrsGraphData::RangeMap_
private

Definition at line 152 of file Epetra_CrsGraphData.h.

const Epetra_Import* Epetra_CrsGraphData::Importer_
private

Definition at line 154 of file Epetra_CrsGraphData.h.

const Epetra_Export* Epetra_CrsGraphData::Exporter_
private

Definition at line 155 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::HaveColMap_
private

Definition at line 157 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::Filled_
private

Definition at line 158 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::Allocated_
private

Definition at line 159 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::Sorted_
private

Definition at line 160 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::StorageOptimized_
private

Definition at line 161 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::NoRedundancies_
private

Definition at line 162 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::IndicesAreGlobal_
private

Definition at line 163 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::IndicesAreLocal_
private

Definition at line 164 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::IndicesAreContiguous_
private

Definition at line 165 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::LowerTriangular_
private

Definition at line 166 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::UpperTriangular_
private

Definition at line 167 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::NoDiagonal_
private

Definition at line 168 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::GlobalConstantsComputed_
private

Definition at line 169 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::StaticProfile_
private

Definition at line 170 of file Epetra_CrsGraphData.h.

bool Epetra_CrsGraphData::SortGhostsAssociatedWithEachProcessor_
private

Definition at line 171 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::IndexBase_
private

Definition at line 173 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalEntries_
private

Definition at line 175 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalBlockRows_
private

Definition at line 176 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalBlockCols_
private

Definition at line 177 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalBlockDiagonals_
private

Definition at line 178 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyEntries_
private

Definition at line 179 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyBlockRows_
private

Definition at line 180 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyBlockCols_
private

Definition at line 181 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyBlockDiagonals_
private

Definition at line 182 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::MaxRowDim_
private

Definition at line 184 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::MaxColDim_
private

Definition at line 185 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::GlobalMaxRowDim_
private

Definition at line 186 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::GlobalMaxColDim_
private

Definition at line 187 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::MaxNumNonzeros_
private

Definition at line 188 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::GlobalMaxNumNonzeros_
private

Definition at line 189 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalNonzeros_
private

Definition at line 191 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalRows_
private

Definition at line 192 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalCols_
private

Definition at line 193 of file Epetra_CrsGraphData.h.

long long Epetra_CrsGraphData::NumGlobalDiagonals_
private

Definition at line 194 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyNonzeros_
private

Definition at line 195 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyRows_
private

Definition at line 196 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyCols_
private

Definition at line 197 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumMyDiagonals_
private

Definition at line 198 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::MaxNumIndices_
private

Definition at line 200 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::GlobalMaxNumIndices_
private

Definition at line 201 of file Epetra_CrsGraphData.h.

int Epetra_CrsGraphData::NumTempColIndices_
private

Definition at line 203 of file Epetra_CrsGraphData.h.

Epetra_IntSerialDenseVector Epetra_CrsGraphData::NumAllocatedIndicesPerRow_
private

Definition at line 204 of file Epetra_CrsGraphData.h.

Epetra_IntSerialDenseVector Epetra_CrsGraphData::NumIndicesPerRow_
private

Definition at line 205 of file Epetra_CrsGraphData.h.

Epetra_IntSerialDenseVector Epetra_CrsGraphData::IndexOffset_
private

Definition at line 206 of file Epetra_CrsGraphData.h.

Epetra_DataAccess Epetra_CrsGraphData::CV_
private

Definition at line 207 of file Epetra_CrsGraphData.h.

IndexData<int>* Epetra_CrsGraphData::data
private

Definition at line 210 of file Epetra_CrsGraphData.h.

IndexData<long long>* Epetra_CrsGraphData::LL_data
private

Definition at line 214 of file Epetra_CrsGraphData.h.


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