deal.II version GIT relicensing-6917-gb466a1809f 2026-10-16 06:30:01+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\}}\)
Loading...
Searching...
No Matches
mg_transfer_global_coarsening.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2020 - 2025 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_mg_transfer_global_coarsening_h
14#define dealii_mg_transfer_global_coarsening_h
15
16#include <deal.II/base/config.h>
17
18#include <deal.II/grid/tria.h>
19
21
22
24
25// Forward declarations
26#ifndef DOXYGEN
28{
29 template <int dim, int spacedim>
30 class Base;
31}
32#endif
33
38{
64
69 unsigned int
71 const unsigned int degree,
72 const PolynomialCoarseningSequenceType &p_sequence);
73
79 std::vector<unsigned int>
81 const unsigned int max_degree,
82 const PolynomialCoarseningSequenceType &p_sequence);
83
94 template <int dim, int spacedim>
95 std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
98
115 template <int dim, int spacedim>
116 std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
120 const bool preserve_fine_triangulation,
121 const bool repartition_fine_triangulation);
122
128 template <int dim, int spacedim>
129 std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
133 const bool repartition_fine_triangulation = false);
134
135} // namespace MGTransferGlobalCoarseningTools
136
137
138template <int dim, typename Number>
140
141template <int dim, typename Number>
144
145template <int dim, typename VectorType>
148 typename VectorType::value_type,
150
151template <int dim, typename VectorType>
154
155
157
158#endif
#define DEAL_II_DEPRECATED
Definition config.h:294
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
std::vector< std::shared_ptr< const Triangulation< dim, spacedim > > > create_geometric_coarsening_sequence(const Triangulation< dim, spacedim > &tria)
unsigned int create_next_polynomial_coarsening_degree(const unsigned int degree, const PolynomialCoarseningSequenceType &p_sequence)
std::vector< unsigned int > create_polynomial_coarsening_sequence(const unsigned int max_degree, const PolynomialCoarseningSequenceType &p_sequence)