deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+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: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2016 - 2026 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
15#include <deal.II/lac/la_parallel_block_vector.templates.h>
17
18#include <complex>
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#ifndef DOXYGEN
34# define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
35 template BlockVector<S1, ::MemorySpace::Host> & \
36 BlockVector<S1, ::MemorySpace::Host>::operator= \
37 <S2>(const BlockVector<S2, ::MemorySpace::Host> &)
38
39 TEMPL_COPY_CONSTRUCTOR(double, float);
40 TEMPL_COPY_CONSTRUCTOR(float, double);
41
42# undef TEMPL_COPY_CONSTRUCTOR
43#endif
44 } // namespace distributed
45} // namespace LinearAlgebra
46
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39