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 );
54 Map_Xpetra(std::string lib,
56 const Teuchos::ArrayView<const GO> &elementList,
58 const CommConstPtr_Type &comm);
60 Map_Xpetra(std::string lib,
64 const CommConstPtr_Type &comm);
69 std::string getUnderlyingLib( )
const;
71 MapPtr_Type buildVecFieldMap(UN numDofs, std::string ordering=
"NodeWise")
const;
73 XpetraMapConstPtr_Type getXpetraMap()
const;
75 ThyraVSBConstPtr_Type getThyraVectorSpaceBase()
const;
77 LO getNodeNumElements()
const;
79 GO getGlobalNumElements()
const;
81 GO getGlobalElement(LO
id)
const;
83 LO getLocalElement(GO
id)
const;
85 Teuchos::ArrayView<const GO> getNodeElementList()
const;
87 GO getMaxAllGlobalIndex()
const;
89 LO getMaxLocalIndex()
const;
91 void print(Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_EXTREME)
const;
93 CommConstPtr_Type getComm()
const;
95 CommPtr_Type getCommNonConst();
99 Teuchos::RCP<Map_Xpetra<LO,GO,NO> >
buildUniqueMap(
int numFreeProcs=0 )
const;
101 Teuchos::RCP<Map_Xpetra<LO,GO,NO> >
buildUniqueMap( tuple_intint_Type rankRange )
const;
103 GO getIndexBase()
const;
107 XpetraMapConstPtr_Type map_;