Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra_MultiVectorFactory_decl.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Xpetra: A linear algebra interface package
4//
5// Copyright 2012 NTESS and the Xpetra contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef XPETRA_MULTIVECTORFACTORY_DECL_HPP
11#define XPETRA_MULTIVECTORFACTORY_DECL_HPP
12
13#include "Xpetra_ConfigDefs.hpp"
15
16#include "Xpetra_TpetraMultiVector.hpp"
17
18// #include "Xpetra_BlockedMap.hpp"
19#include "Xpetra_Exceptions.hpp"
20
21namespace Xpetra {
22
39template <class Scalar,
40 class LocalOrdinal,
41 class GlobalOrdinal,
42 class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
63
64} // namespace Xpetra
65
66#define XPETRA_MULTIVECTORFACTORY_SHORT
67#endif
Factory for any type of Xpetra::MultiVector and its derived classes.
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.