Reference documentation for deal.II version 8.5.0
Main Page
Tutorial
Code gallery
Modules
Namespaces
Classes
Related Pages
Files
dealii.org
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
source
lac
la_vector.cc
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2015 - 2016 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 at
12
// the top level of the deal.II distribution.
13
//
14
// ---------------------------------------------------------------------
15
16
#include <deal.II/lac/la_vector.templates.h>
17
18
DEAL_II_NAMESPACE_OPEN
19
20
// disable instantiation for MSVC for now because of a compiler bug,
21
// see https://github.com/dealii/dealii/issues/2875
22
#ifndef DEAL_II_MSVC
23
24
namespace
LinearAlgebra
25
{
26
#include "la_vector.inst"
27
28
// do a few functions that currently don't fit the scheme because they have
29
// two template arguments that need to be different (the case of same
30
// arguments is covered by the default copy constructor and copy operator that
31
// is declared separately)
32
33
#define TEMPL_COPY_CONSTRUCTOR(S1,S2) \
34
template Vector<S1>& Vector<S1>::operator=<S2> (const Vector<S2> &)
35
36
#ifndef DEAL_II_EXPLICIT_CONSTRUCTOR_BUG
37
TEMPL_COPY_CONSTRUCTOR(
double
,
float
);
38
TEMPL_COPY_CONSTRUCTOR(
float
,
double
);
39
40
41
TEMPL_COPY_CONSTRUCTOR(std::complex<double>,std::complex<float>);
42
TEMPL_COPY_CONSTRUCTOR(std::complex<float>,std::complex<double>);
43
44
#endif
45
46
#undef TEMPL_COPY_CONSTRUCTOR
47
}
48
49
#endif // ! DEAL_II_MSVC
50
51
DEAL_II_NAMESPACE_CLOSE
Generated by
1.8.6