Reference documentation for deal.II version 9.6.0
\(\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: 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// 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
15#ifndef dealii_distributed_field_transfer_h
16#define dealii_distributed_field_transfer_h
17
18#include <deal.II/base/config.h>
19
20#include <deal.II/distributed/cell_data_transfer.templates.h>
21
23
24#include <memory>
25
27
28namespace parallel
29{
30 namespace distributed
31 {
36 namespace experimental
37 {
43 template <int dim, typename VectorType, int spacedim = dim>
45 {
46 private:
47 using Number = typename VectorType::value_type;
48
49 public:
58
65 void
67 const VectorType &in,
68 const unsigned int fe_nothing_index);
69
77 void
78 interpolate(const Number &new_value,
79 const AffineConstraints<Number> &affine_constraints,
80 VectorType &out);
81
82 private:
87
91 std::vector<Vector<Number>> data_to_transfer;
92
96 std::unique_ptr<
99 };
100 } // namespace experimental
101 } // namespace distributed
102} // namespace parallel
103
105
106#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)
FieldTransfer(const DoFHandler< dim, spacedim > &dof_handler)
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:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504