All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Xpetra_TpetraMap.hpp File Reference
#include "Xpetra_TpetraConfigDefs.hpp"
#include <Tpetra_Map.hpp>
#include "Xpetra_Map.hpp"
#include "Xpetra_Utils.hpp"
#include "Xpetra_Exceptions.hpp"

Go to the source code of this file.

Classes

class  Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node >
 
class  Xpetra::TpetraMap< int, int, EpetraNode >
 
class  Xpetra::TpetraMap< int, long long, EpetraNode >
 

Namespaces

 Xpetra
 Xpetra namespace
 
 Xpetra::useTpetra
 

Macros

#define XPETRA_TPETRAMAP_SHORT
 

Functions

template<class LocalOrdinal , class GlobalOrdinal , class Node >
const Tpetra::Map
< LocalOrdinal, GlobalOrdinal,
Node > & 
Xpetra::toTpetra (const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
const RCP< const Tpetra::Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
Xpetra::toTpetra (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
const RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
Xpetra::toXpetra (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
const RCP< Map< LocalOrdinal,
GlobalOrdinal, Node > > 
Xpetra::toXpetraNonConst (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
const RCP< const Tpetra::Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
Xpetra::toTpetraNonZero (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const TpetraMap
< LocalOrdinal, GlobalOrdinal,
Node > > 
Xpetra::useTpetra::createLocalMapWithNode (size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 Non-member function to create a locally replicated Map with a specified node. More...
 
template<class LocalOrdinal , class GlobalOrdinal >
Teuchos::RCP< const TpetraMap
< LocalOrdinal, GlobalOrdinal > > 
Xpetra::useTpetra::createContigMap (global_size_t numElements, size_t localNumElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 Non-member function to create a (potentially) non-uniform, contiguous Map with the default node. More...
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const TpetraMap
< LocalOrdinal, GlobalOrdinal,
Node > > 
Xpetra::useTpetra::createContigMapWithNode (global_size_t numElements, size_t localNumElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 Non-member function to create a (potentially) non-uniform, contiguous Map with a user-specified node. More...
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator== (const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &map1, const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &map2)
 Returns true if map is identical to this map. Implemented in TpetraMap::isSameAs(). More...
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator!= (const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &map1, const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &map2)
 Returns true if map is not identical to this map. Implemented in TpetraMap::isSameAs(). More...
 

Macro Definition Documentation

#define XPETRA_TPETRAMAP_SHORT

Definition at line 848 of file Xpetra_TpetraMap.hpp.

Function Documentation

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator== ( const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &  map1,
const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &  map2 
)

Returns true if map is identical to this map. Implemented in TpetraMap::isSameAs().

Definition at line 836 of file Xpetra_TpetraMap.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator!= ( const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &  map1,
const Xpetra::TpetraMap< LocalOrdinal, GlobalOrdinal, Node > &  map2 
)

Returns true if map is not identical to this map. Implemented in TpetraMap::isSameAs().

Definition at line 843 of file Xpetra_TpetraMap.hpp.