-template <int dim>
-static void
-mirror_refinement_flags (const typename Triangulation<dim>::cell_iterator &new_cell,
+// have a few helper functions
+namespace
+{
+ template <int dim>
+ void
+ mirror_refinement_flags (const typename Triangulation<dim>::cell_iterator &new_cell,
const typename Triangulation<dim>::cell_iterator &old_cell)
{
// mirror the refinement
template <int dim>
-static bool
+bool
adapt_grid_cells (const typename Triangulation<dim>::cell_iterator &cell1,
const typename Triangulation<dim>::cell_iterator &cell2)
{
template <int dim>
-static bool
+bool
adapt_grids (Triangulation<dim> &tria1,
Triangulation<dim> &tria2)
{
return grids_changed;
}
-
+}
template <int dim>
std::vector<std::pair<unsigned int,double> >(1, // one element, denoting the upper bound
// for the following
// relaxation
- std::make_pair (0, 0.)));
+ std::make_pair (0U, 0.)));
template <int dim>