Reference documentation for deal.II version 9.5.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// Copyright (C) 2021 - 2023 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
16#ifndef dealii_distributed_field_transfer_h
17#define dealii_distributed_field_transfer_h
18
19#include <deal.II/base/config.h>
20
21#include <deal.II/distributed/cell_data_transfer.templates.h>
22
24
25#include <memory>
26
28
29namespace parallel
30{
31 namespace distributed
32 {
37 namespace experimental
38 {
44 template <int dim, typename VectorType, int spacedim = dim>
46 {
47 private:
48 using Number = typename VectorType::value_type;
49
50 public:
59
66 void
68 const VectorType & in,
69 const unsigned int fe_nothing_index);
70
78 void
79 interpolate(const Number & new_value,
80 const AffineConstraints<Number> &affine_constraints,
81 VectorType & out);
82
83 private:
88
92 std::vector<Vector<Number>> data_to_transfer;
93
97 std::unique_ptr<
100 };
101 } // namespace experimental
102 } // namespace distributed
103} // namespace parallel
104
106
107#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:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473