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::RefineAndCoarsenFixedFraction Namespace Reference

Functions

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

Function Documentation

◆ compute_threshold()

template<typename number >
number internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedFraction::compute_threshold ( const ::Vector< number > &  criteria,
const std::pair< double, double > &  global_min_and_max,
const double  target_error,
const MPI_Comm  mpi_communicator 
)

Compute a threshold value so that the error accumulated over all criteria[i] so that

criteria[i] > threshold

is larger than target_error.

Definition at line 389 of file grid_refinement.cc.