40 typedef Map<LO,GO,NO> Map_Type;
41 typedef Teuchos::RCP<Map_Type> MapPtr_Type;
42 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
44 typedef Tpetra::Map<LO,GO,NO> TpetraMap_Type;
45 typedef Teuchos::RCP<TpetraMap_Type> TpetraMapPtr_Type;
46 typedef Teuchos::RCP<const TpetraMap_Type> TpetraMapConstPtr_Type;
47 typedef const TpetraMapConstPtr_Type TpetraMapConstPtrConst_Type;
49 typedef Xpetra::Map<LO,GO,NO> XpetraMap_Type;
50 typedef Teuchos::RCP<XpetraMap_Type> XpetraMapPtr_Type;
51 typedef Teuchos::RCP<const XpetraMap_Type> XpetraMapConstPtr_Type;
52 typedef const XpetraMapConstPtr_Type XpetraMapConstPtrConst_Type;
54 typedef Thyra::VectorSpaceBase<default_sc> ThyraVSB_Type;
55 typedef Teuchos::RCP<ThyraVSB_Type> ThyraVSBPtr_Type;
56 typedef Teuchos::RCP<const ThyraVSB_Type> ThyraVSBConstPtr_Type;
58 typedef Teuchos::Comm<int> Comm_Type;
59 typedef Teuchos::RCP<Comm_Type> CommPtr_Type;
60 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
64 Map(
const TpetraMapConstPtr_Type& tpetraMatPtrIn );
66 Map(
const Map_Type& mapIn );
68 Map(GO numGlobalElements,
69 const Teuchos::ArrayView<const GO> &elementList,
71 const CommConstPtr_Type &comm);
73 Map(GO numGlobalElements,
76 const CommConstPtr_Type &comm);
81 LO getNodeNumElements()
const;
83 GO getGlobalNumElements()
const;
85 GO getGlobalElement(LO
id)
const;
87 LO getLocalElement(GO
id)
const;
89 CommConstPtr_Type getComm()
const;
91 Teuchos::ArrayView<const GO> getNodeElementList()
const;
93 GO getIndexBase()
const;
95 std::string getUnderlyingLib( )
const;
97 MapPtr_Type buildVecFieldMap(UN numDofs, std::string ordering=
"NodeWise")
const;
99 TpetraMapConstPtr_Type getTpetraMap()
const;
101 XpetraMapConstPtr_Type getXpetraMap();
103 GO getMaxAllGlobalIndex()
const;
105 LO getMaxLocalIndex()
const;
107 void print(Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_EXTREME)
const;
109 ThyraVSBConstPtr_Type getThyraVectorSpaceBase()
const;
111 CommPtr_Type getCommNonConst();
118 Teuchos::RCP<Map<LO,GO,NO> >
buildUniqueMap( tuple_intint_Type rankRange )
const;
123 TpetraMapConstPtr_Type map_;
124 XpetraMapConstPtr_Type mapX_;