16#ifndef dealii_distributed_grid_refinement_h
17#define dealii_distributed_grid_refinement_h
46 template <
typename number>
47 std::pair<number, number>
49 const ::Vector<number> &criteria,
52 namespace RefineAndCoarsenFixedNumber
58 template <
typename number>
61 const std::pair<double, double> &global_min_and_max,
66 namespace RefineAndCoarsenFixedFraction
76 template <
typename number>
79 const std::pair<double, double> &global_min_and_max,
80 const double target_error,
156 template <
int dim,
typename Number,
int spacedim>
160 const ::Vector<Number> & criteria,
161 const double top_fraction_of_cells,
162 const double bottom_fraction_of_cells,
164 std::numeric_limits<types::global_cell_index>::max());
210 template <
int dim,
typename Number,
int spacedim>
214 const ::Vector<Number> & criteria,
215 const double top_fraction_of_error,
216 const double bottom_fraction_of_error,
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
number compute_threshold(const ::Vector< number > &criteria, const std::pair< double, double > &global_min_and_max, const double target_error, const MPI_Comm mpi_communicator)
number compute_threshold(const ::Vector< number > &criteria, const std::pair< double, double > &global_min_and_max, const types::global_cell_index n_target_cells, const MPI_Comm mpi_communicator)
std::pair< number, number > compute_global_min_and_max_at_root(const ::Vector< number > &criteria, const MPI_Comm mpi_communicator)
void refine_and_coarsen_fixed_fraction(::Triangulation< dim, spacedim > &tria, const ::Vector< Number > &criteria, const double top_fraction_of_error, const double bottom_fraction_of_error, const VectorTools::NormType norm_type=VectorTools::NormType::L1_norm)
void refine_and_coarsen_fixed_number(::Triangulation< dim, spacedim > &tria, const ::Vector< Number > &criteria, const double top_fraction_of_cells, const double bottom_fraction_of_cells, const types::global_cell_index max_n_cells=std::numeric_limits< types::global_cell_index >::max())
unsigned int global_cell_index
const ::Triangulation< dim, spacedim > & tria