Reference documentation for deal.II version GIT d7aca55de5 2022-08-10 12:50: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 
24 
27 
28 #include <memory>
29 
31 
57 template <int dim, int patch_dim, int spacedim>
59  : public DataOut_DoFData<dim, patch_dim, spacedim, spacedim>
60 {
61 public:
68 
82  void
84  const unsigned int n_subdivisions = 0);
85 
99  void
102  const unsigned int n_subdivisions = 0,
104  curved_region =
106 
118  void
121  curved_region =
123 
124 protected:
125  virtual const std::vector<typename DataOutBase::Patch<patch_dim, spacedim>> &
126  get_patches() const override;
127 
128 private:
133 
138 
143 
148 
152  std::shared_ptr<Utilities::MPI::Partitioner> partitioner;
153 
157  std::vector<types::global_dof_index> point_to_local_vector_indices;
158 
163 };
164 
166 
167 #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:311
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443