EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
EpetraExt::Migrate< KT, DT > Class Template Reference

Data Migration Utility used by EpetraExt::Directory. More...

#include <EpetraExt_Migrate.h>

Public Types

typedef std::map< KT,
Teuchos::RCP< DT > > 
DataMap
 
typedef DataMap::iterator DataMapIter
 
typedef DataMap::const_iterator DataMapCIter
 
typedef DataMap::value_type DataPair
 
typedef std::vector< KT > KeyList
 
typedef KeyList::iterator KeyListIter
 
typedef KeyList::const_iterator KeyListCIter
 
typedef std::vector< int > ProcList
 
typedef ProcList::iterator ProcListIter
 
typedef std::vector< char > Buffer
 

Public Member Functions

 Migrate (Epetra_Comm &comm)
 
 ~Migrate ()
 
void operator() (std::vector< int > const &pList, std::vector< KT > const &iKeys, std::vector< KT > &oKeys)
 
void operator() (std::vector< int > const &pList, std::map< KT, Teuchos::RCP< DT > > const &iData, std::multimap< KT, Teuchos::RCP< DT > > &oData)
 
void rvs (std::vector< int > const &pList, std::vector< KT > const &keys, std::map< KT, Teuchos::RCP< DT > > &iData, std::map< KT, Teuchos::RCP< DT > > &oData)
 

Protected Attributes

Epetra_Commcomm_
 
char * imports_
 
int importSize_
 
Buffer exports_
 

Detailed Description

template<typename KT, typename DT>
class EpetraExt::Migrate< KT, DT >

Data Migration Utility used by EpetraExt::Directory.

Definition at line 65 of file EpetraExt_Migrate.h.

Member Typedef Documentation

template<typename KT , typename DT >
typedef std::map< KT, Teuchos::RCP<DT> > EpetraExt::Migrate< KT, DT >::DataMap

Definition at line 69 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef DataMap::iterator EpetraExt::Migrate< KT, DT >::DataMapIter

Definition at line 70 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef DataMap::const_iterator EpetraExt::Migrate< KT, DT >::DataMapCIter

Definition at line 71 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef DataMap::value_type EpetraExt::Migrate< KT, DT >::DataPair

Definition at line 73 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef std::vector<KT> EpetraExt::Migrate< KT, DT >::KeyList

Definition at line 75 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef KeyList::iterator EpetraExt::Migrate< KT, DT >::KeyListIter

Definition at line 76 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef KeyList::const_iterator EpetraExt::Migrate< KT, DT >::KeyListCIter

Definition at line 77 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef std::vector<int> EpetraExt::Migrate< KT, DT >::ProcList

Definition at line 79 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef ProcList::iterator EpetraExt::Migrate< KT, DT >::ProcListIter

Definition at line 80 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
typedef std::vector<char> EpetraExt::Migrate< KT, DT >::Buffer

Definition at line 82 of file EpetraExt_Migrate.h.

Constructor & Destructor Documentation

template<typename KT , typename DT >
EpetraExt::Migrate< KT, DT >::Migrate ( Epetra_Comm comm)
inline

Definition at line 85 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
EpetraExt::Migrate< KT, DT >::~Migrate ( )
inline

Definition at line 92 of file EpetraExt_Migrate.h.

Member Function Documentation

template<typename KT , typename DT >
void EpetraExt::Migrate< KT, DT >::operator() ( std::vector< int > const &  pList,
std::vector< KT > const &  iKeys,
std::vector< KT > &  oKeys 
)

Definition at line 187 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
void EpetraExt::Migrate< KT, DT >::operator() ( std::vector< int > const &  pList,
std::map< KT, Teuchos::RCP< DT > > const &  iData,
std::multimap< KT, Teuchos::RCP< DT > > &  oData 
)

Definition at line 242 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
void EpetraExt::Migrate< KT, DT >::rvs ( std::vector< int > const &  pList,
std::vector< KT > const &  keys,
std::map< KT, Teuchos::RCP< DT > > &  iData,
std::map< KT, Teuchos::RCP< DT > > &  oData 
)

Definition at line 306 of file EpetraExt_Migrate.h.

Member Data Documentation

template<typename KT , typename DT >
Epetra_Comm& EpetraExt::Migrate< KT, DT >::comm_
protected

Definition at line 120 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
char* EpetraExt::Migrate< KT, DT >::imports_
protected

Definition at line 122 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
int EpetraExt::Migrate< KT, DT >::importSize_
protected

Definition at line 123 of file EpetraExt_Migrate.h.

template<typename KT , typename DT >
Buffer EpetraExt::Migrate< KT, DT >::exports_
protected

Definition at line 125 of file EpetraExt_Migrate.h.


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