46 #ifndef XPETRA_MULTIVECTORFACTORY_DEF_HPP
47 #define XPETRA_MULTIVECTORFACTORY_DEF_HPP
51 #include "Xpetra_BlockedMultiVector.hpp"
53 #include "Xpetra_BlockedMap.hpp"
59 template<
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
60 Teuchos::RCP<MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>>
68 RCP<const BlockedMap<LocalOrdinal, GlobalOrdinal, Node>> bmap =
76 #ifdef HAVE_XPETRA_TPETRA
88 template<
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
89 Teuchos::RCP<MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>>
92 const Teuchos::ArrayView<
const Teuchos::ArrayView<const Scalar>>& ArrayOfPtrs,
97 #ifdef HAVE_XPETRA_TPETRA
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.
#define XPETRA_FACTORY_ERROR_IF_EPETRA(lib)
#define XPETRA_FACTORY_END
#define XPETRA_MONITOR(funcName)