Xpetra Version of the Day
Loading...
Searching...
No Matches
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.
 
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.
 
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.
 

Function Documentation

◆ createLocalMapWithNode()

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 285 of file Xpetra_TpetraMap_decl.hpp.

◆ createContigMap()

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 295 of file Xpetra_TpetraMap_decl.hpp.

◆ createContigMapWithNode()

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 304 of file Xpetra_TpetraMap_decl.hpp.