Tpetra_Map_def.hpp File Reference

#include <Teuchos_TypeNameTraits.hpp>
#include <Teuchos_OrdinalTraits.hpp>
#include <Teuchos_CommHelpers.hpp>
#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
 

Tpetra namespace


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 882 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 864 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 870 of file Tpetra_Map_def.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:21:41 2011 for Tpetra Matrix/Vector Services by  doxygen 1.6.3