Belos
Version of the Day
Loading...
Searching...
No Matches
src
BelosTpetraETIHelpers.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Belos: Block Linear Solvers Package
4
//
5
// Copyright 2004-2016 NTESS and the Belos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef BELOSTPETRAETIHELPERS_HPP
11
#define BELOSTPETRAETIHELPERS_HPP
12
13
#ifdef HAVE_BELOS_TPETRA
14
15
#include "Tpetra_MultiVector.hpp"
16
#include "Tpetra_Operator.hpp"
17
#include "TpetraCore_ETIHelperMacros.h"
18
19
20
#define BELOS_TPETRA_CALL(CLASS, SC, LO, GO, NT) \
21
template class CLASS<SC, Tpetra::MultiVector<SC, LO, GO, NT>, \
22
Tpetra::Operator<SC, LO, GO, NT>, \
23
Teuchos::SerialDenseMatrix<int, SC>>; \
24
template class CLASS< \
25
SC, Tpetra::MultiVector<SC, LO, GO, NT>, \
26
Tpetra::Operator<SC, LO, GO, NT>, \
27
typename Tpetra::MultiVector<SC, LO, GO, \
28
NT>::wrapped_dual_view_type::DVT>;
29
30
#define BELOS_TPETRA_EXTERN_CALL(CLASS, SC, LO, GO, NT) \
31
extern template class CLASS<SC, Tpetra::MultiVector<SC, LO, GO, NT>, \
32
Tpetra::Operator<SC, LO, GO, NT>, \
33
Teuchos::SerialDenseMatrix<int, SC>>; \
34
extern template class CLASS< \
35
SC, Tpetra::MultiVector<SC, LO, GO, NT>, \
36
Tpetra::Operator<SC, LO, GO, NT>, \
37
typename Tpetra::MultiVector<SC, LO, GO, \
38
NT>::wrapped_dual_view_type::DVT>;
39
40
TPETRA_ETI_MANGLING_TYPEDEFS()
41
42
#endif
43
44
#endif
Generated for Belos by
1.9.8