31 typedef Map_Xpetra<LO,GO,NO> Map_Type;
32 typedef Teuchos::RCP<Map_Type> MapPtr_Type;
33 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
35 typedef Xpetra::Map<LO,GO,NO> XpetraMap_Type;
36 typedef Teuchos::RCP<XpetraMap_Type> XpetraMapPtr_Type;
37 typedef Teuchos::RCP<const XpetraMap_Type> XpetraMapConstPtr_Type;
38 typedef const XpetraMapConstPtr_Type XpetraMapConstPtrConst_Type;
40 typedef Thyra::VectorSpaceBase<default_sc> ThyraVSB_Type;
41 typedef Teuchos::RCP<ThyraVSB_Type> ThyraVSBPtr_Type;
42 typedef Teuchos::RCP<const ThyraVSB_Type> ThyraVSBConstPtr_Type;
44 typedef Teuchos::Comm<int> Comm_Type;
45 typedef Teuchos::RCP<Comm_Type> CommPtr_Type;
46 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
50 Map_Xpetra(
const XpetraMapConstPtr_Type& xpetraMatPtrIn );
52 Map_Xpetra(
const Map_Type& mapIn );
56 const Teuchos::ArrayView<const GO> &elementList,
58 const CommConstPtr_Type &comm);
64 const CommConstPtr_Type &comm);
69 MapPtr_Type buildVecFieldMap(UN numDofs, std::string ordering=
"NodeWise")
const;
71 XpetraMapConstPtr_Type getXpetraMap()
const;
73 ThyraVSBConstPtr_Type getThyraVectorSpaceBase()
const;
75 LO getNodeNumElements()
const;
77 GO getGlobalNumElements()
const;
79 GO getGlobalElement(LO
id)
const;
81 LO getLocalElement(GO
id)
const;
83 Teuchos::ArrayView<const GO> getNodeElementList()
const;
85 GO getMaxAllGlobalIndex()
const;
87 LO getMaxLocalIndex()
const;
89 void print(Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_EXTREME)
const;
91 CommConstPtr_Type getComm()
const;
93 CommPtr_Type getCommNonConst();
97 Teuchos::RCP<Map_Xpetra<LO,GO,NO> >
buildUniqueMap(
int numFreeProcs=0 )
const;
99 Teuchos::RCP<Map_Xpetra<LO,GO,NO> >
buildUniqueMap( tuple_intint_Type rankRange )
const;
101 GO getIndexBase()
const;
105 XpetraMapConstPtr_Type map_;