10 #ifndef __Teko_TpetraThyraConverter_hpp__
11 #define __Teko_TpetraThyraConverter_hpp__
14 #include "Teuchos_RCP.hpp"
17 #include "Tpetra_MultiVector.hpp"
18 #include "Tpetra_Map.hpp"
21 #include "Thyra_VectorSpaceBase.hpp"
23 #include "Teko_ConfigDefs.hpp"
26 namespace TpetraHelpers {
73 void blockTpetraToThyra(
const Tpetra::MultiVector<ST, LO, GO, NT>& tpetraX,
74 const Teuchos::Ptr<Thyra::MultiVectorBase<ST> >& thyraX);
121 void blockThyraToTpetra(
const Teuchos::RCP<
const Thyra::MultiVectorBase<ST> >& thyraX,
122 Tpetra::MultiVector<ST, LO, GO, NT>& tpetraX);
152 const Teuchos::RCP<Tpetra::Map<LO, GO, NT> > thyraVSToTpetraMap(
153 const Thyra::VectorSpaceBase<ST>& vs,
154 const Teuchos::RCP<
const Teuchos::Comm<Thyra::Ordinal> >& comm);