Tpetra parallel linear algebra  Version of the Day
Namespaces | Macros | Functions
Tpetra_Map_def.hpp File Reference
#include "Tpetra_Directory.hpp"
#include "Tpetra_Details_FixedHashTable.hpp"
#include "Tpetra_Details_gathervPrint.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.
 
 Tpetra::Details
 Namespace for Tpetra implementation details.
 

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...
 

Functions

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Tpetra::Details::isLocallyFitted (const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &map1, const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &map2)
 Is map1 locally fitted to map2? 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

◆ TPETRA_MAP_INSTANT

#define TPETRA_MAP_INSTANT (   LO,
  GO,
  NODE 
)

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

Definition at line 2276 of file Tpetra_Map_def.hpp.

◆ TPETRA_MAP_INSTANT_DEFAULTNODE

#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 > > &); \
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 2320 of file Tpetra_Map_def.hpp.