void do_refine (Triangulation<1> &tria)
{
- const int dim = 1;
-
tria.refine_global (2);
tria.begin_active()->set_refine_flag();
tria.execute_coarsening_and_refinement ();
// holds
tria.refine_global (1);
- DoFHandler<dim> dof_handler (triangulation);
+ DoFHandler<dim> dof_handler (tria);
for (typename DoFHandler<dim>::cell_iterator cell = dof_handler.begin();
cell != dof_handler.end (); ++cell)
void do_refine (Triangulation<1> &tria)
{
- const int dim = 1;
-
tria.refine_global (2);
tria.begin_active()->set_refine_flag();
tria.execute_coarsening_and_refinement ();
// holds
tria.refine_global (1);
- MGDoFHandler<dim> dof_handler (triangulation);
+ MGDoFHandler<dim> dof_handler (tria);
for (typename MGDoFHandler<dim>::cell_iterator cell = dof_handler.begin();
cell != dof_handler.end (); ++cell)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams