Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::useTpetra Namespace Reference

Functions

template<class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const TpetraMap
< LocalOrdinal, GlobalOrdinal,
Node > > 
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,
typename Tpetra::Map
<>::node_type > > 
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 > > 
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...
 

Function Documentation

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.

Definition at line 240 of file Xpetra_TpetraMap_decl.hpp.

template<class LocalOrdinal , class GlobalOrdinal >
Teuchos::RCP<const TpetraMap<LocalOrdinal, GlobalOrdinal, typename Tpetra::Map<>::node_type> > 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.

Definition at line 249 of file Xpetra_TpetraMap_decl.hpp.

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.

Definition at line 258 of file Xpetra_TpetraMap_decl.hpp.