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

#include <EpetraExt_MMHelpers.h>

Inheritance diagram for EpetraExt::CrsWrapper_GraphBuilder< int_type >:
Inheritance graph
[legend]

Public Member Functions

 CrsWrapper_GraphBuilder (const Epetra_Map &emap)
 
virtual ~CrsWrapper_GraphBuilder ()
 
const Epetra_MapRowMap () const
 
bool Filled ()
 
int InsertGlobalValues (int_type GlobalRow, int NumEntries, double *Values, int_type *Indices)
 
int SumIntoGlobalValues (int_type GlobalRow, int NumEntries, double *Values, int_type *Indices)
 
std::map< int_type, std::set
< int_type > * > & 
get_graph ()
 
int get_max_row_length ()
 
- Public Member Functions inherited from EpetraExt::CrsWrapper
virtual ~CrsWrapper ()
 
virtual int InsertGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices)=0
 
virtual int SumIntoGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices)=0
 
virtual int InsertGlobalValues (long long GlobalRow, int NumEntries, double *Values, long long *Indices)=0
 
virtual int SumIntoGlobalValues (long long GlobalRow, int NumEntries, double *Values, long long *Indices)=0
 

Private Attributes

std::map< int_type, std::set
< int_type > * > 
graph_
 
const Epetra_Maprowmap_
 
int max_row_length_
 

Detailed Description

template<typename int_type>
class EpetraExt::CrsWrapper_GraphBuilder< int_type >

Definition at line 156 of file EpetraExt_MMHelpers.h.

Constructor & Destructor Documentation

template<typename int_type >
EpetraExt::CrsWrapper_GraphBuilder< int_type >::CrsWrapper_GraphBuilder ( const Epetra_Map emap)

Definition at line 219 of file EpetraExt_MMHelpers.cpp.

template<typename int_type >
EpetraExt::CrsWrapper_GraphBuilder< int_type >::~CrsWrapper_GraphBuilder ( )
virtual

Definition at line 234 of file EpetraExt_MMHelpers.cpp.

Member Function Documentation

template<typename int_type>
const Epetra_Map& EpetraExt::CrsWrapper_GraphBuilder< int_type >::RowMap ( ) const
inlinevirtual

Implements EpetraExt::CrsWrapper.

Definition at line 161 of file EpetraExt_MMHelpers.h.

template<typename int_type >
bool EpetraExt::CrsWrapper_GraphBuilder< int_type >::Filled ( )
virtual

Implements EpetraExt::CrsWrapper.

Definition at line 246 of file EpetraExt_MMHelpers.cpp.

template<typename int_type >
int EpetraExt::CrsWrapper_GraphBuilder< int_type >::InsertGlobalValues ( int_type  GlobalRow,
int  NumEntries,
double *  Values,
int_type *  Indices 
)

Definition at line 253 of file EpetraExt_MMHelpers.cpp.

template<typename int_type >
int EpetraExt::CrsWrapper_GraphBuilder< int_type >::SumIntoGlobalValues ( int_type  GlobalRow,
int  NumEntries,
double *  Values,
int_type *  Indices 
)

Definition at line 274 of file EpetraExt_MMHelpers.cpp.

template<typename int_type >
std::map< int_type, std::set< int_type > * > & EpetraExt::CrsWrapper_GraphBuilder< int_type >::get_graph ( )

Definition at line 281 of file EpetraExt_MMHelpers.cpp.

template<typename int_type>
int EpetraExt::CrsWrapper_GraphBuilder< int_type >::get_max_row_length ( )
inline

Definition at line 170 of file EpetraExt_MMHelpers.h.

Member Data Documentation

template<typename int_type>
std::map<int_type,std::set<int_type>*> EpetraExt::CrsWrapper_GraphBuilder< int_type >::graph_
private

Definition at line 173 of file EpetraExt_MMHelpers.h.

template<typename int_type>
const Epetra_Map& EpetraExt::CrsWrapper_GraphBuilder< int_type >::rowmap_
private

Definition at line 174 of file EpetraExt_MMHelpers.h.

template<typename int_type>
int EpetraExt::CrsWrapper_GraphBuilder< int_type >::max_row_length_
private

Definition at line 175 of file EpetraExt_MMHelpers.h.


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