15#ifndef dealii_grid_refinement_h
16#define dealii_grid_refinement_h
31template <
int dim,
int spacedim>
34template <
typename Number>
89 std::pair<double, double>
93 const double top_fraction_of_cells,
94 const double bottom_fraction_of_cells);
160 template <
int dim,
typename Number,
int spacedim>
165 const double top_fraction_of_cells,
166 const double bottom_fraction_of_cells,
167 const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max());
231 template <
int dim,
typename Number,
int spacedim>
236 const double top_fraction,
237 const double bottom_fraction,
238 const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max(),
314 template <
int dim,
typename Number,
int spacedim>
318 const unsigned int order = 2);
334 template <
int dim,
typename Number,
int spacedim>
338 const double threshold,
355 template <
int dim,
typename Number,
int spacedim>
359 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::L1_norm)
static const unsigned int invalid_unsigned_int
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation