46 #ifndef XPETRA_MULTIVECTORFACTORY_DECL_HPP
47 #define XPETRA_MULTIVECTORFACTORY_DECL_HPP
52 #ifdef HAVE_XPETRA_TPETRA
53 #include "Xpetra_TpetraMultiVector.hpp"
56 #ifdef HAVE_XPETRA_EPETRA
67 template<
class Scalar,
94 #if defined(HAVE_XPETRA_EPETRA)
96 #if !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES)
158 #if !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES)
179 bool zeroOut =
true);
209 bool zeroOut =
true);
229 #define XPETRA_MULTIVECTORFACTORY_SHORT
static Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Build(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &ArrayOfPtrs, size_t NumVectors)
Set multi-vector values from array of pointers using Teuchos memory management classes....
static RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Build(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t NumVectors, bool zeroOut=true)
static Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Build(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &ArrayOfPtrs, size_t NumVectors)
Set multi-vector values from array of pointers using Teuchos memory management classes....
static RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Build(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t NumVectors, bool zeroOut=true)
MultiVectorFactory()
Private constructor. This is a static class.
static Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Build(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &map, size_t NumVectors, bool zeroOut=true)
Constructor specifying the number of non-zeros for all rows.