Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
internal::parallel::distributed::GridRefinement Namespace Reference

Namespaces

namespace  RefineAndCoarsenFixedFraction
 
namespace  RefineAndCoarsenFixedNumber
 

Functions

template<typename number >
std::pair< number, number > compute_global_min_and_max_at_root (const ::Vector< number > &criteria, const 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,
const 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 274 of file grid_refinement.cc.