Reference documentation for deal.II version GIT 2f5445400b 2023-02-05 22:30:02+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\}}\)
data_out_resample.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 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 
58 template <int dim, int patch_dim, int spacedim>
60  : public DataOut_DoFData<dim, patch_dim, spacedim, spacedim>
61 {
62 public:
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 
125 protected:
126  virtual const std::vector<typename DataOutBase::Patch<patch_dim, spacedim>> &
127  get_patches() const override;
128 
129 private:
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
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
void update_mapping(const Mapping< dim, spacedim > &mapping, const unsigned int n_subdivisions=0)
const SmartPointer< const Mapping< patch_dim, spacedim > > patch_mapping
DataOut< patch_dim, spacedim > patch_data_out
Abstract base class for mapping classes.
Definition: mapping.h:312
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:461
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:462