10 #ifndef THYRA_EPETRA_THYRA_WRAPPERS_HPP
11 #define THYRA_EPETRA_THYRA_WRAPPERS_HPP
14 #include "Thyra_EpetraTypes.hpp"
18 namespace Teuchos {
template<
class Ordinal>
class Comm; }
32 RCP<const Teuchos::Comm<Ordinal> >
33 create_Comm(
const RCP<const Epetra_Comm> &epetraComm );
69 RCP<const VectorSpaceBase<double> >
71 const RCP<const Epetra_Map> &epetra_map
88 RCP<const VectorSpaceBase<double> >
90 const RCP<
const VectorSpaceBase<double> > &parentSpace,
119 RCP<VectorBase<double> >
121 const RCP<Epetra_Vector> &epetra_v,
122 const RCP<
const VectorSpaceBase<double> > &space = Teuchos::null
148 RCP<const VectorBase<double> >
150 const RCP<const Epetra_Vector> &epetra_v,
151 const RCP<
const VectorSpaceBase<double> > &space = Teuchos::null
178 RCP<MultiVectorBase<double> >
180 const RCP<Epetra_MultiVector> &epetra_mv,
181 const RCP<
const VectorSpaceBase<double> > &range = Teuchos::null,
182 const RCP<
const VectorSpaceBase<double> > &domain = Teuchos::null
211 RCP<const MultiVectorBase<double> >
213 const RCP<const Epetra_MultiVector> &epetra_mv,
214 const RCP<
const VectorSpaceBase<double> > &range = Teuchos::null,
215 const RCP<
const VectorSpaceBase<double> > &domain = Teuchos::null
234 RCP<const Epetra_Comm>
246 RCP<const Epetra_Map>
247 get_Epetra_Map(
const VectorSpaceBase<double>& vs,
const RCP<const Epetra_Comm>& comm);
251 RCP<const Epetra_Map>
253 const RCP<const Epetra_Comm>& comm = Teuchos::null);
280 const RCP<VectorBase<double> > &v
287 const RCP<VectorBase<double> > &v,
288 const RCP<const Epetra_Map>& map = Teuchos::null
311 RCP<const Epetra_Vector>
314 const RCP<
const VectorBase<double> > &v
319 RCP<const Epetra_Vector>
321 const RCP<
const VectorBase<double> > &v,
322 const RCP<const Epetra_Map>& map = Teuchos::null
348 RCP<Epetra_MultiVector>
351 const RCP<MultiVectorBase<double> > &mv
356 RCP<Epetra_MultiVector>
358 const RCP<MultiVectorBase<double> > &mv,
359 const RCP<const Epetra_Map>& map = Teuchos::null
382 RCP<const Epetra_MultiVector>
385 const RCP<
const MultiVectorBase<double> > &mv
390 RCP<const Epetra_MultiVector>
392 const RCP<
const MultiVectorBase<double> > &mv,
393 const RCP<const Epetra_Map>& map = Teuchos::null
423 MultiVectorBase<double> &mv
449 const MultiVectorBase<double> &mv
456 #endif // THYRA_EPETRA_THYRA_WRAPPERS_HPP
458 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
460 #warning "The ThyraEpetraAdapters package is deprecated"
RCP< Epetra_MultiVector > get_Epetra_MultiVector(const Epetra_Map &map, const RCP< MultiVectorBase< double > > &mv)
Get a non-const Epetra_MultiVector view from a non-const MultiVectorBase object if possible...
RCP< const Epetra_Map > get_Epetra_Map(const VectorSpaceBase< double > &vs, const RCP< const Epetra_Comm > &comm)
Get (or create) an Epetra_Map object given an VectorSpaceBase object an optionally an extra Epetra_Co...
RCP< const VectorSpaceBase< double > > create_VectorSpace(const RCP< const Epetra_Map > &epetra_map)
Create an VectorSpaceBase object given an Epetra_Map object.
RCP< MultiVectorBase< double > > create_MultiVector(const RCP< Epetra_MultiVector > &epetra_mv, const RCP< const VectorSpaceBase< double > > &range=Teuchos::null, const RCP< const VectorSpaceBase< double > > &domain=Teuchos::null)
Create a non-const MultiVectorBase object from a non-const Epetra_MultiVector object.
RCP< VectorBase< double > > create_Vector(const RCP< Epetra_Vector > &epetra_v, const RCP< const VectorSpaceBase< double > > &space=Teuchos::null)
Create a non-const VectorBase object from a non-const Epetra_Vector object.
RCP< Epetra_Vector > get_Epetra_Vector(const Epetra_Map &map, const RCP< VectorBase< double > > &v)
Get a non-const Epetra_Vector view from a non-const VectorBase object if possible.
RCP< const Epetra_Comm > get_Epetra_Comm(const Teuchos::Comm< Ordinal > &comm)
Get (or create) and Epetra_Comm given a Teuchos::Comm object.
RCP< const VectorSpaceBase< double > > create_LocallyReplicatedVectorSpace(const RCP< const VectorSpaceBase< double > > &parentSpace, const int dim)
Create a VectorSpaceBase object that creates locally replicated vector objects.
RCP< const Teuchos::Comm< Ordinal > > create_Comm(const RCP< const Epetra_Comm > &epetraComm)
Given an Epetra_Comm object, return an equivalent Teuchos::Comm object.