deal.II version GIT relicensing-2865-ga6be64acbe 2025-03-19 21:10:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
la_parallel_block_vector.cc
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2016 - 2018 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
17#include <deal.II/lac/la_parallel_block_vector.templates.h>
19
21
22#include "lac/la_parallel_block_vector.inst"
23
24// do a few functions that currently don't fit the scheme because they have
25// two template arguments that need to be different (the case of same
26// arguments is covered by the default copy constructor and copy operator that
27// is declared separately)
28
29namespace LinearAlgebra
30{
31 namespace distributed
32 {
33#define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
34 template BlockVector<S1> &BlockVector<S1>::operator= \
35 <S2>(const BlockVector<S2> &)
36
37 TEMPL_COPY_CONSTRUCTOR(double, float);
38 TEMPL_COPY_CONSTRUCTOR(float, double);
39
40#undef TEMPL_COPY_CONSTRUCTOR
41 } // namespace distributed
42} // namespace LinearAlgebra
43
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:40
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:41
#define TEMPL_COPY_CONSTRUCTOR(S1, S2)