EpetraExt::Migrate< KT, DT > Class Template Reference

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

#include <EpetraExt_Migrate.h>

List of all members.

Public Types

typedef std::map< KT, Teuchos::RefCountPtr<
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::RefCountPtr< DT > > const &iData, std::multimap< KT, Teuchos::RefCountPtr< DT > > &oData)
void rvs (std::vector< int > const &pList, std::vector< KT > const &keys, std::map< KT, Teuchos::RefCountPtr< DT > > &iData, std::map< KT, Teuchos::RefCountPtr< 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 52 of file EpetraExt_Migrate.h.


Member Typedef Documentation

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

Definition at line 56 of file EpetraExt_Migrate.h.

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

Definition at line 57 of file EpetraExt_Migrate.h.

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

Definition at line 58 of file EpetraExt_Migrate.h.

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

Definition at line 60 of file EpetraExt_Migrate.h.

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

Definition at line 62 of file EpetraExt_Migrate.h.

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

Definition at line 63 of file EpetraExt_Migrate.h.

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

Definition at line 64 of file EpetraExt_Migrate.h.

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

Definition at line 66 of file EpetraExt_Migrate.h.

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

Definition at line 67 of file EpetraExt_Migrate.h.

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

Definition at line 69 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 72 of file EpetraExt_Migrate.h.

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

Definition at line 79 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 174 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::RefCountPtr< DT > > const &  iData,
std::multimap< KT, Teuchos::RefCountPtr< DT > > &  oData 
)

Definition at line 229 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::RefCountPtr< DT > > &  iData,
std::map< KT, Teuchos::RefCountPtr< DT > > &  oData 
)

Definition at line 293 of file EpetraExt_Migrate.h.


Member Data Documentation

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

Definition at line 107 of file EpetraExt_Migrate.h.

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

Definition at line 109 of file EpetraExt_Migrate.h.

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

Definition at line 110 of file EpetraExt_Migrate.h.

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

Definition at line 112 of file EpetraExt_Migrate.h.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:40:41 2010 for EpetraExt by  doxygen 1.4.7