deal.II version GIT relicensing-6917-gb466a1809f 2026-10-16 06:30: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
field_transfer.h
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) 2022 - 2023 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
13#ifndef dealii_distributed_field_transfer_h
14#define dealii_distributed_field_transfer_h
15
16#include <deal.II/base/config.h>
17
18#include <deal.II/distributed/cell_data_transfer.templates.h>
19
21
22#include <memory>
23
25
26namespace parallel
27{
28 namespace distributed
29 {
34 namespace experimental
35 {
41 template <int dim, typename VectorType, int spacedim = dim>
43 {
44 private:
45 using Number = typename VectorType::value_type;
46
47 public:
56
63 void
65 const VectorType &in,
66 const unsigned int fe_nothing_index);
67
75 void
76 interpolate(const Number &new_value,
77 const AffineConstraints<Number> &affine_constraints,
78 VectorType &out);
79
80 private:
85
89 std::vector<Vector<Number>> data_to_transfer;
90
94 std::unique_ptr<
97 };
98 } // namespace experimental
99 } // namespace distributed
100} // namespace parallel
101
103
104#endif
std::unique_ptr< CellDataTransfer< dim, spacedim, std::vector< Vector< Number > > > > cell_data_transfer
void prepare_for_coarsening_and_refinement(const VectorType &in, const unsigned int fe_nothing_index)
std::vector< Vector< Number > > data_to_transfer
const DoFHandler< dim, spacedim > & dof_handler
void interpolate(const Number &new_value, const AffineConstraints< Number > &affine_constraints, VectorType &out)
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39