1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2011 - 2019 by the deal.II authors
4//
5// This file is part of the deal.II library.
6//
7// The deal.II library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.md at
12// the top level directory of deal.II.
13//
14// ---------------------------------------------------------------------
15
16
17
18for (SCALAR : REAL_AND_COMPLEX_SCALARS)
19  {
20    namespace LinearAlgebra
21    \{
22      namespace distributed
23      \{
24        template class Vector<SCALAR, ::dealii::MemorySpace::Host>;
25        template void
26        Vector<SCALAR, ::dealii::MemorySpace::Host>::import<
27          ::dealii::MemorySpace::Host>(
28          const Vector<SCALAR, ::dealii::MemorySpace::Host> &,
29          VectorOperation::values);
30      \}
31    \}
32  }
33
34for (S1 : REAL_AND_COMPLEX_SCALARS; S2 : REAL_SCALARS)
35  {
36    namespace LinearAlgebra
37    \{
38      namespace distributed
39      \{
40        template void
41        Vector<S1, ::dealii::MemorySpace::Host>::reinit<S2>(
42          const Vector<S2, ::dealii::MemorySpace::Host> &,
43          const bool);
44        template S1
45        Vector<S1, ::dealii::MemorySpace::Host>::inner_product_local<S2>(
46          const Vector<S2, ::dealii::MemorySpace::Host> &) const;
47        template void
48        Vector<S1, ::dealii::MemorySpace::Host>::copy_locally_owned_data_from<
49          S2>(const Vector<S2, ::dealii::MemorySpace::Host> &);
50      \}
51    \}
52  }
53
54
55for (S1, S2 : COMPLEX_SCALARS)
56  {
57    namespace LinearAlgebra
58    \{
59      namespace distributed
60      \{
61        template void
62        Vector<S1, ::dealii::MemorySpace::Host>::reinit<S2>(
63          const Vector<S2, ::dealii::MemorySpace::Host> &,
64          const bool);
65        template S1
66        Vector<S1, ::dealii::MemorySpace::Host>::inner_product_local<S2>(
67          const Vector<S2, ::dealii::MemorySpace::Host> &) const;
68        template void
69        Vector<S1, ::dealii::MemorySpace::Host>::copy_locally_owned_data_from<
70          S2>(const Vector<S2, ::dealii::MemorySpace::Host> &);
71      \}
72    \}
73  }
74