Reference documentation for deal.II version 9.3.3
\(\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\}}\)
la_parallel_block_vector.cc
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2016 - 2018 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
18#include <deal.II/lac/la_parallel_block_vector.templates.h>
20
22
23
24// disable instantiation for MSVC for now because of a compiler bug,
25// see https://github.com/dealii/dealii/issues/2875
26#ifndef DEAL_II_MSVC
27
28# include "la_parallel_block_vector.inst"
29
30// do a few functions that currently don't fit the scheme because they have
31// two template arguments that need to be different (the case of same
32// arguments is covered by the default copy constructor and copy operator that
33// is declared separately)
34
35namespace LinearAlgebra
36{
37 namespace distributed
38 {
39# define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
40 template BlockVector<S1> &BlockVector<S1>::operator= \
41 <S2>(const BlockVector<S2> &)
42
43 TEMPL_COPY_CONSTRUCTOR(double, float);
44 TEMPL_COPY_CONSTRUCTOR(float, double);
45
46# undef TEMPL_COPY_CONSTRUCTOR
47 } // namespace distributed
48} // namespace LinearAlgebra
49
50#endif // ! DEAL_II_MSVC
51
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403
TEMPL_COPY_CONSTRUCTOR(double, float)