34 typedef Map<LO,GO,NO> Map_Type;
35 typedef Teuchos::RCP<Map_Type> MapPtr_Type;
36 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
38 typedef Tpetra::Map<LO,GO,NO> TpetraMap_Type;
39 typedef Teuchos::RCP<TpetraMap_Type> TpetraMapPtr_Type;
40 typedef Teuchos::RCP<const TpetraMap_Type> TpetraMapConstPtr_Type;
41 typedef const TpetraMapConstPtr_Type TpetraMapConstPtrConst_Type;
43 typedef Thyra::VectorSpaceBase<default_sc> ThyraVSB_Type;
44 typedef Teuchos::RCP<ThyraVSB_Type> ThyraVSBPtr_Type;
45 typedef Teuchos::RCP<const ThyraVSB_Type> ThyraVSBConstPtr_Type;
47 typedef Teuchos::Comm<int> Comm_Type;
48 typedef Teuchos::RCP<Comm_Type> CommPtr_Type;
49 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
53 Map(
const TpetraMapConstPtr_Type& tpetraMatPtrIn );
55 Map(
const Map_Type& mapIn );
57 Map(GO numGlobalElements,
58 const Teuchos::ArrayView<const GO> &elementList,
60 const CommConstPtr_Type &comm);
62 Map(GO numGlobalElements,
65 const CommConstPtr_Type &comm);
70 LO getNodeNumElements()
const;
72 GO getGlobalNumElements()
const;
74 GO getGlobalElement(LO
id)
const;
76 LO getLocalElement(GO
id)
const;
78 CommConstPtr_Type getComm()
const;
80 Teuchos::ArrayView<const GO> getNodeElementList()
const;
82 GO getIndexBase()
const;
84 MapPtr_Type buildVecFieldMap(UN numDofs, std::string ordering=
"NodeWise")
const;
86 TpetraMapConstPtr_Type getTpetraMap()
const;
88 GO getMaxAllGlobalIndex()
const;
90 LO getMaxLocalIndex()
const;
92 void print(Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_EXTREME)
const;
94 ThyraVSBConstPtr_Type getThyraVectorSpaceBase()
const;
96 CommPtr_Type getCommNonConst();
103 Teuchos::RCP<Map<LO,GO,NO> >
buildUniqueMap( tuple_intint_Type rankRange )
const;
108 TpetraMapConstPtr_Type map_;