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
data_out_resample.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2021 - 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_data_out_resample_h
16#define dealii_data_out_resample_h
17
18
19
20#include <deal.II/base/config.h>
21
24
27
28#include <memory>
29
31
59template <int dim, int patch_dim, int spacedim>
61 : public DataOut_DoFData<dim, patch_dim, spacedim, spacedim>
62{
63public:
70
84 void
86 const unsigned int n_subdivisions = 0);
87
101 void
104 const unsigned int n_subdivisions = 0,
106 curved_region =
108
120 void
123 curved_region =
125
126protected:
127 virtual const std::vector<typename DataOutBase::Patch<patch_dim, spacedim>> &
128 get_patches() const override;
129
130private:
135
140
145
150
154 std::shared_ptr<Utilities::MPI::Partitioner> partitioner;
155
159 std::vector<types::global_dof_index> point_to_local_vector_indices;
160
165};
166
168
169#endif
virtual const std::vector< typename DataOutBase::Patch< patch_dim, spacedim > > & get_patches() const override
std::shared_ptr< Utilities::MPI::Partitioner > partitioner
DataOutResample(const Triangulation< patch_dim, spacedim > &patch_tria, const Mapping< patch_dim, spacedim > &patch_mapping)
DoFHandler< patch_dim, spacedim > patch_dof_handler
std::vector< types::global_dof_index > point_to_local_vector_indices
SmartPointer< const Mapping< dim, spacedim > > mapping
void build_patches(const Mapping< dim, spacedim > &mapping, const unsigned int n_subdivisions=0, const typename DataOut< patch_dim, spacedim >::CurvedCellRegion curved_region=DataOut< patch_dim, spacedim >::CurvedCellRegion::curved_boundary)
Utilities::MPI::RemotePointEvaluation< dim, spacedim > rpe
const SmartPointer< const Mapping< patch_dim, spacedim > > patch_mapping
DataOut< patch_dim, spacedim > patch_data_out
CurvedCellRegion
Definition data_out.h:185
Abstract base class for mapping classes.
Definition mapping.h:318
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
@ update_mapping