]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
reverse condition for multigrid
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2013 21:28:23 +0000 (21:28 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2013 21:28:23 +0000 (21:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@30660 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index ecac403f7b2290da38d10ffe72ab6ac4efaaf402..cae33217580d4af23cb5f2eea1fc0b11d3e5f876 100644 (file)
@@ -2466,9 +2466,9 @@ namespace parallel
       // we will miss level cells at shared vertices if we ignore this.
       // See tests/mpi/mg_06.
       if (settings & construct_multigrid_hierarchy)
-        this->smooth_grid = dealii::Triangulation<dim,spacedim>::none;
-      else
         this->smooth_grid = dealii::Triangulation<dim,spacedim>::limit_level_difference_at_vertices;
+      else
+        this->smooth_grid = dealii::Triangulation<dim,spacedim>::none;
 
       bool mesh_changed = false;
 

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.