Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
full_matrix.cc
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 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 #include <deal.II/base/logstream.h>
17 
18 #include <deal.II/lac/full_matrix.templates.h>
19 
21 
22 #include "full_matrix.inst"
23 
24 #ifndef DOXYGEN
25 
26 # ifndef DEAL_II_WITH_COMPLEX_VALUES
27 // instantiate for std::complex<double> because we use it internally in
28 // FESeries.
29 template class FullMatrix<std::complex<double>>;
30 # endif
31 
32 // instantiate for long double manually because we use it in a few places
33 // inside the library
34 template class FullMatrix<long double>;
35 template void
37 template void
40  const bool) const;
41 template void
44  const bool) const;
45 template void
48  const bool) const;
49 template void
52  const bool) const;
53 template void
55  const Vector<long double> &,
56  bool) const;
57 template void
59  const Vector<long double> &,
60  bool) const;
61 template void
63  const FullMatrix<long double> &);
64 
65 
66 // do a few functions that currently don't fit the scheme because they have
67 // two template arguments that need to be different (the case of same
68 // arguments is covered by the default copy constructor and copy operator that
69 // is declared separately)
70 
71 # define TEMPL_OP_EQ(S1, S2) \
72  template FullMatrix<S1> &FullMatrix<S1>::operator=(const FullMatrix<S2> &)
73 
74 TEMPL_OP_EQ(double, float);
75 TEMPL_OP_EQ(float, double);
76 
77 # ifdef DEAL_II_WITH_COMPLEX_VALUES
78 TEMPL_OP_EQ(std::complex<double>, std::complex<float>);
79 TEMPL_OP_EQ(std::complex<float>, std::complex<double>);
80 TEMPL_OP_EQ(std::complex<double>, double);
81 TEMPL_OP_EQ(std::complex<float>, float);
82 # endif
83 
84 # undef TEMPL_OP_EQ
85 
86 #endif
87 
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
FullMatrix
Definition: full_matrix.h:71
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
logstream.h