47 #ifndef __Teko_TpetraThyraConverter_hpp__
48 #define __Teko_TpetraThyraConverter_hpp__
51 #include "Teuchos_RCP.hpp"
54 #include "Tpetra_MultiVector.hpp"
55 #include "Tpetra_Map.hpp"
58 #include "Thyra_VectorSpaceBase.hpp"
60 #include "Teko_ConfigDefs.hpp"
63 namespace TpetraHelpers {
102 void blockTpetraToThyra(
const Tpetra::MultiVector<ST,LO,GO,NT> & tpetraX,
const Teuchos::Ptr<Thyra::MultiVectorBase<ST> > & thyraX);
141 void blockThyraToTpetra(
const Teuchos::RCP<
const Thyra::MultiVectorBase<ST> > & thyraX,Tpetra::MultiVector<ST,LO,GO,NT> & tpetraX);
171 const Teuchos::RCP<Tpetra::Map<LO,GO,NT> >
172 thyraVSToTpetraMap(
const Thyra::VectorSpaceBase<ST> & vs,
const Teuchos::RCP<
const Teuchos::Comm<Thyra::Ordinal> > & comm);