Reference documentation for deal.II version 9.2.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\}}\)
Namespaces | Functions
internal::parallel::distributed::GridRefinement Namespace Reference

Namespaces

 RefineAndCoarsenFixedFraction
 
 RefineAndCoarsenFixedNumber
 

Functions

template<typename number >
std::pair< number, number > compute_global_min_and_max_at_root (const ::Vector< number > &criteria, MPI_Comm mpi_communicator)
 

Function Documentation

◆ compute_global_min_and_max_at_root()

template<typename number >
std::pair< number, number > internal::parallel::distributed::GridRefinement::compute_global_min_and_max_at_root ( const ::Vector< number > &  criteria,
MPI_Comm  mpi_communicator 
)

Compute the global max and min of the criteria vector. These are returned only on the processor with rank zero, all others get a pair of zeros.

Definition at line 203 of file grid_refinement.cc.