Tpetra Matrix/Vector Services Version of the Day
Namespaces | Defines | Functions
Tpetra_Map_def.hpp File Reference
#include <Teuchos_as.hpp>
#include "Tpetra_Directory.hpp"
#include "Tpetra_Util.hpp"
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  Tpetra
 

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


Defines

#define TPETRA_MAP_INSTANT(LO, GO, NODE)
 Explicit instantiation macro supporting the Map class. Instantiates the class and the non-member constructors.

Detailed Description

The implementations for the members of Tpetra::Map and related non-member constructors.

Definition in file Tpetra_Map_def.hpp.


Define 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> > \
  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); \

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

Definition at line 879 of file Tpetra_Map_def.hpp.


Function Documentation

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator== ( const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  map1,
const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  map2 
) [related]

Returns true if map is identical to this Map. Implemented in isSameAs().

Definition at line 861 of file Tpetra_Map_def.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool operator!= ( const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  map1,
const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  map2 
) [related]

Returns true if map is not identical to this Map. Implemented in isSameAs().

Definition at line 867 of file Tpetra_Map_def.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines