Tpetra parallel linear algebra  Version of the Day
Namespaces | Macros
Tpetra_Map_def.hpp File Reference
#include "Tpetra_Directory.hpp"
#include "Tpetra_Details_FixedHashTable.hpp"
#include "Tpetra_Util.hpp"
#include "Teuchos_as.hpp"
#include <stdexcept>

Go to the source code of this file.

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 

Macros

#define TPETRA_MAP_INSTANT(LO, GO, NODE)
 Explicit instantiation macro supporting the Map class. Instantiates the class and the non-member constructors. More...
 
#define TPETRA_MAP_INSTANT_DEFAULTNODE(LO, GO)
 Explicit instantiation macro supporting the Map class, on the default node for specified ordinals. More...
 

Detailed Description

Implementation of the methods of Tpetra::Map, and of related nonmember constructors for Tpetra::Map.

Definition in file Tpetra_Map_def.hpp.

Macro Definition Documentation

#define TPETRA_MAP_INSTANT (   LO,
  GO,
  NODE 
)
Value:
\
template class Map< LO , GO , NODE >; \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createLocalMapWithNode<LO,GO,NODE>(size_t numElements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< NODE > &node); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createContigMapWithNode<LO,GO,NODE>(global_size_t numElements, size_t localNumElements, \
const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< NODE > &node); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createNonContigMapWithNode(const Teuchos::ArrayView<const GO> &elementList, \
const RCP<const Teuchos::Comm<int> > &comm, \
const RCP<NODE> &node); \
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createUniformContigMapWithNode<LO,GO,NODE>(global_size_t numElements, \
const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< NODE > &node); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createWeightedContigMapWithNode<LO,GO,NODE>(int thisNodeWeight, global_size_t numElements, \
const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< NODE > &node); \
\
template Teuchos::RCP<const Map<LO,GO,NODE> > \
createOneToOne (const Teuchos::RCP<const Map<LO,GO,NODE> > &M); \
\
template Teuchos::RCP<const Map<LO,GO,NODE> > \
createOneToOne (const Teuchos::RCP<const Map<LO,GO,NODE> > &M, \
Interface for breaking ties in ownership.
size_t global_size_t
Global size_t object.
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > createNonContigMapWithNode(const ArrayView< const GlobalOrdinal > &elementList, const RCP< const Teuchos::Comm< int > > &comm, const RCP< Node > &node)
Non-member constructor for a non-contiguous Map with a user-specified Kokkos Node.
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > createOneToOne(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &M)
Creates a one-to-one version of the given Map where each GID is owned by only one process...

Explicit instantiation macro supporting the Map class. Instantiates the class and the non-member constructors.

Definition at line 1647 of file Tpetra_Map_def.hpp.

#define TPETRA_MAP_INSTANT_DEFAULTNODE (   LO,
  GO 
)
Value:
template Teuchos::RCP< const Map<LO,GO> > \
createLocalMap<LO,GO>( size_t, const Teuchos::RCP< const Teuchos::Comm< int > > &); \
\
template Teuchos::RCP< const Map<LO,GO> > \
createContigMap<LO,GO>( global_size_t, size_t, \
const Teuchos::RCP< const Teuchos::Comm< int > > &); \
\
template Teuchos::RCP< const Map<LO,GO> > \
createNonContigMap(const Teuchos::ArrayView<const GO> &, \
const RCP<const Teuchos::Comm<int> > &); \
\
template Teuchos::RCP< const Map<LO,GO> > \
createUniformContigMap<LO,GO>( global_size_t, \
const Teuchos::RCP< const Teuchos::Comm< int > > &); \
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal > > createNonContigMap(const ArrayView< const GlobalOrdinal > &elementList, const RCP< const Teuchos::Comm< int > > &comm)
Non-member constructor for a non-contiguous Map with the default Kokkos Node.
size_t global_size_t
Global size_t object.

Explicit instantiation macro supporting the Map class, on the default node for specified ordinals.

Definition at line 1679 of file Tpetra_Map_def.hpp.