Loading [MathJax]/extensions/TeX/newcommand.js
 Reference documentation for deal.II version 9.5.0
\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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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 390 of file grid_refinement.cc.