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
data_out_resample.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_data_out_resample_h
17#define dealii_data_out_resample_h
18
19
20
21#include <deal.II/base/config.h>
22
25
28
29#include <memory>
30
32
58template <int dim, int patch_dim, int spacedim>
60 : public DataOut_DoFData<dim, patch_dim, spacedim, spacedim>
61{
62public:
69
83 void
85 const unsigned int n_subdivisions = 0);
86
100 void
103 const unsigned int n_subdivisions = 0,
105 curved_region =
107
119 void
122 curved_region =
124
125protected:
126 virtual const std::vector<typename DataOutBase::Patch<patch_dim, spacedim>> &
127 get_patches() const override;
128
129private:
134
139
144
149
153 std::shared_ptr<Utilities::MPI::Partitioner> partitioner;
154
158 std::vector<types::global_dof_index> point_to_local_vector_indices;
159
164};
165
167
168#endif
virtual const std::vector< typename DataOutBase::Patch< patch_dim, spacedim > > & get_patches() const override
std::shared_ptr< Utilities::MPI::Partitioner > partitioner
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:186
Abstract base class for mapping classes.
Definition mapping.h:317
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473
@ update_mapping