42 #ifndef THYRA_EPETRA_THYRA_WRAPPERS_HPP
43 #define THYRA_EPETRA_THYRA_WRAPPERS_HPP
46 #include "Thyra_EpetraTypes.hpp"
50 namespace Teuchos {
template<
class Ordinal>
class Comm; }
64 RCP<const Teuchos::Comm<Ordinal> >
65 create_Comm(
const RCP<const Epetra_Comm> &epetraComm );
101 RCP<const VectorSpaceBase<double> >
103 const RCP<const Epetra_Map> &epetra_map
120 RCP<const VectorSpaceBase<double> >
122 const RCP<
const VectorSpaceBase<double> > &parentSpace,
151 RCP<VectorBase<double> >
153 const RCP<Epetra_Vector> &epetra_v,
154 const RCP<
const VectorSpaceBase<double> > &space = Teuchos::null
180 RCP<const VectorBase<double> >
182 const RCP<const Epetra_Vector> &epetra_v,
183 const RCP<
const VectorSpaceBase<double> > &space = Teuchos::null
210 RCP<MultiVectorBase<double> >
212 const RCP<Epetra_MultiVector> &epetra_mv,
213 const RCP<
const VectorSpaceBase<double> > &range = Teuchos::null,
214 const RCP<
const VectorSpaceBase<double> > &domain = Teuchos::null
243 RCP<const MultiVectorBase<double> >
245 const RCP<const Epetra_MultiVector> &epetra_mv,
246 const RCP<
const VectorSpaceBase<double> > &range = Teuchos::null,
247 const RCP<
const VectorSpaceBase<double> > &domain = Teuchos::null
266 RCP<const Epetra_Comm>
278 RCP<const Epetra_Map>
279 get_Epetra_Map(
const VectorSpaceBase<double>& vs,
const RCP<const Epetra_Comm>& comm);
283 RCP<const Epetra_Map>
285 const RCP<const Epetra_Comm>& comm = Teuchos::null);
312 const RCP<VectorBase<double> > &v
319 const RCP<VectorBase<double> > &v,
320 const RCP<const Epetra_Map>& map = Teuchos::null
343 RCP<const Epetra_Vector>
346 const RCP<
const VectorBase<double> > &v
351 RCP<const Epetra_Vector>
353 const RCP<
const VectorBase<double> > &v,
354 const RCP<const Epetra_Map>& map = Teuchos::null
380 RCP<Epetra_MultiVector>
383 const RCP<MultiVectorBase<double> > &mv
388 RCP<Epetra_MultiVector>
390 const RCP<MultiVectorBase<double> > &mv,
391 const RCP<const Epetra_Map>& map = Teuchos::null
414 RCP<const Epetra_MultiVector>
417 const RCP<
const MultiVectorBase<double> > &mv
422 RCP<const Epetra_MultiVector>
424 const RCP<
const MultiVectorBase<double> > &mv,
425 const RCP<const Epetra_Map>& map = Teuchos::null
455 MultiVectorBase<double> &mv
481 const MultiVectorBase<double> &mv
488 #endif // THYRA_EPETRA_THYRA_WRAPPERS_HPP
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.