deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+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
Functions
internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedNumber Namespace Reference

Functions

template<typename number >
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)
 

Function Documentation

◆ compute_threshold()

template<typename number >
number internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedNumber::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 
)

Compute a threshold value so that exactly n_target_cells have a value that is larger.

Definition at line 306 of file grid_refinement.cc.