16#ifndef dealii_grid_refinement_h
17#define dealii_grid_refinement_h
32template <
int dim,
int spacedim>
35template <
typename Number>
90 std::pair<double, double>
94 const double top_fraction_of_cells,
95 const double bottom_fraction_of_cells);
161 template <
int dim,
typename Number,
int spacedim>
166 const double top_fraction_of_cells,
167 const double bottom_fraction_of_cells,
168 const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max());
232 template <
int dim,
typename Number,
int spacedim>
237 const double top_fraction,
238 const double bottom_fraction,
239 const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max(),
315 template <
int dim,
typename Number,
int spacedim>
319 const unsigned int order = 2);
335 template <
int dim,
typename Number,
int spacedim>
339 const double threshold,
356 template <
int dim,
typename Number,
int spacedim>
360 const double threshold);
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE
#define DeclException0(Exception0)
static ::ExceptionBase & ExcNegativeCriteria()
static ::ExceptionBase & ExcInvalidParameterValue()
void refine(Triangulation< dim, spacedim > &tria, const Vector< Number > &criteria, const double threshold, const unsigned int max_to_mark=numbers::invalid_unsigned_int)
void refine_and_coarsen_fixed_number(Triangulation< dim, spacedim > &triangulation, const Vector< Number > &criteria, const double top_fraction_of_cells, const double bottom_fraction_of_cells, const unsigned int max_n_cells=std::numeric_limits< unsigned int >::max())
void refine_and_coarsen_optimize(Triangulation< dim, spacedim > &tria, const Vector< Number > &criteria, const unsigned int order=2)
void coarsen(Triangulation< dim, spacedim > &tria, const Vector< Number > &criteria, const double threshold)
std::pair< double, double > adjust_refine_and_coarsen_number_fraction(const types::global_cell_index current_n_cells, const types::global_cell_index max_n_cells, const double top_fraction_of_cells, const double bottom_fraction_of_cells)
void refine_and_coarsen_fixed_fraction(Triangulation< dim, spacedim > &tria, const Vector< Number > &criteria, const double top_fraction, const double bottom_fraction, const unsigned int max_n_cells=std::numeric_limits< unsigned int >::max(), const VectorTools::NormType norm_type=VectorTools::NormType::L1_norm)
static const unsigned int invalid_unsigned_int
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation
const ::Triangulation< dim, spacedim > & tria