15#ifndef dealii_distributed_grid_refinement_h
16#define dealii_distributed_grid_refinement_h
45 template <
typename number>
46 std::pair<number, number>
48 const ::Vector<number> &criteria,
51 namespace RefineAndCoarsenFixedNumber
57 template <
typename number>
60 const std::pair<double, double> &global_min_and_max,
65 namespace RefineAndCoarsenFixedFraction
75 template <
typename number>
78 const std::pair<double, double> &global_min_and_max,
79 const double target_error,
155 template <
int dim,
typename Number,
int spacedim>
159 const ::Vector<Number> &criteria,
160 const double top_fraction_of_cells,
161 const double bottom_fraction_of_cells,
163 std::numeric_limits<types::global_cell_index>::max());
209 template <
int dim,
typename Number,
int spacedim>
213 const ::Vector<Number> &criteria,
214 const double top_fraction_of_error,
215 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::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())