Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Macros
Tpetra_Map_def.hpp File Reference
#include "Tpetra_Directory.hpp"
#include "Tpetra_Details_FixedHashTable.hpp"
#include "Tpetra_Details_gathervPrint.hpp"
#include "Tpetra_Details_printOnce.hpp"
#include "Tpetra_Core.hpp"
#include "Tpetra_Util.hpp"
#include "Teuchos_as.hpp"
#include "Teuchos_TypeNameTraits.hpp"
#include "Teuchos_CommHelpers.hpp"
#include "Tpetra_Details_mpiIsInitialized.hpp"
#include "Tpetra_Details_extractMpiCommFromTeuchos.hpp"
#include "Tpetra_Details_initializeKokkos.hpp"
#include <stdexcept>
#include <typeinfo>

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> (const size_t numElements, \
const Teuchos::RCP< const Teuchos::Comm< int > >& comm); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createContigMapWithNode<LO,GO,NODE> (const global_size_t numElements, \
const size_t localNumElements, \
const Teuchos::RCP< const Teuchos::Comm< int > >& comm); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createNonContigMapWithNode(const Teuchos::ArrayView<const GO> &elementList, \
const Teuchos::RCP<const Teuchos::Comm<int> > &comm); \
\
template Teuchos::RCP< const Map<LO,GO,NODE> > \
createUniformContigMapWithNode<LO,GO,NODE> (const global_size_t numElements, \
const Teuchos::RCP< const Teuchos::Comm< int > >& comm); \
\
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, \
const Tpetra::Details::TieBreak<LO,GO>& tie_break); \
Interface for breaking ties in ownership.
size_t global_size_t
Global size_t object.
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > createNonContigMapWithNode(const Teuchos::ArrayView< const GlobalOrdinal > &elementList, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
Nonmember constructor for a noncontiguous Map with a user-specified, possibly nondefault Kokkos Node ...
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > createOneToOne(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &M)
Nonmember constructor for a contiguous Map with user-defined weights and a user-specified, possibly nondefault Kokkos Node type.

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

Definition at line 2446 of file Tpetra_Map_def.hpp.

#define TPETRA_MAP_INSTANT_DEFAULTNODE (   LO,
  GO 
)
Value:
template Teuchos::RCP< const Map<LO,GO> > \
createLocalMap<LO,GO>( const 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 Teuchos::RCP<const Teuchos::Comm<int> > &); \
\
template Teuchos::RCP< const Map<LO,GO> > \
createUniformContigMap<LO,GO>( const global_size_t, \
const Teuchos::RCP< const Teuchos::Comm< int > > &); \
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal > > createNonContigMap(const Teuchos::ArrayView< const GlobalOrdinal > &elementList, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
Nonmember constructor for a non-contiguous Map using the default Kokkos::Device type.
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 2477 of file Tpetra_Map_def.hpp.