16#include <deal.II/multigrid/mg_transfer_global_coarsening.templates.h>
24 const unsigned int previous_fe_degree,
30 return std::max(previous_fe_degree / 2, 1u);
32 return std::max(previous_fe_degree - 1, 1u);
43 std::vector<unsigned int>
45 const unsigned int max_degree,
48 std::vector<unsigned int> degrees{max_degree};
50 while (degrees.back() > 1)
54 std::reverse(degrees.begin(), degrees.end());
60#include "mg_transfer_global_coarsening.inst"
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
::VectorizedArray< Number, width > max(const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)