]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix MG example that require grid smoothing 3145/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 21 Sep 2016 18:28:28 +0000 (20:28 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 21 Sep 2016 18:28:28 +0000 (20:28 +0200)
examples/step-37/step-37.cc
examples/step-39/step-39.cc

index 49b4e722fcd6472745ff2079a1defb9a97662e7e..4b98150a084c2b6ba10d05f0e938be41a362d4e6 100644 (file)
@@ -725,6 +725,7 @@ namespace Step37
   template <int dim>
   LaplaceProblem<dim>::LaplaceProblem ()
     :
+    triangulation (Triangulation<dim>::limit_level_difference_at_vertices),
     fe (degree_finite_element),
     dof_handler (triangulation),
     time_details (std::cout, false)
index 291b89d638d57a9c43881e133e9ad2d293a8b429..aa55ccf0fa920f3074e871f630632e11dfdb257a 100644 (file)
@@ -473,6 +473,7 @@ namespace Step39
   template <int dim>
   InteriorPenaltyProblem<dim>::InteriorPenaltyProblem(const FiniteElement<dim> &fe)
     :
+    triangulation (Triangulation<dim>::limit_level_difference_at_vertices),
     mapping(),
     fe(fe),
     dof_handler(triangulation),

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


Typeset in Trocchi and Trocchi Bold Sans Serif.