]> https://gitweb.dealii.org/ - dealii.git/commitdiff
multigrid bug fixed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 21 Aug 2013 18:05:41 +0000 (18:05 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 21 Aug 2013 18:05:41 +0000 (18:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@30377 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/meshworker/simple.h

index 88e201777a49df2117480e7d9b2f8e1f68733763..0a5c70c6cb10d36627f1fb88d179818a183595b0 100644 (file)
@@ -911,7 +911,7 @@ namespace MeshWorker
           for (unsigned int j=0; j<i1.size(); ++j)
             for (unsigned int k=0; k<i2.size(); ++k)
               if (std::fabs(M(k,j)) >= threshold)
-                if (mg_constrained_dofs->at_refinement_edge(level, i1[j]) &&
+                if (//mg_constrained_dofs->at_refinement_edge(level, i1[j]) &&
                     !mg_constrained_dofs->at_refinement_edge(level, i2[k]))
                   G.add(i1[j], i2[k], M(k,j));
         }
@@ -941,7 +941,7 @@ namespace MeshWorker
           for (unsigned int j=0; j<i1.size(); ++j)
             for (unsigned int k=0; k<i2.size(); ++k)
               if (std::fabs(M(j,k)) >= threshold)
-                if (mg_constrained_dofs->at_refinement_edge(level, i1[j]) &&
+                if (//mg_constrained_dofs->at_refinement_edge(level, i1[j]) &&
                     !mg_constrained_dofs->at_refinement_edge(level, i2[k]))
                   G.add(i1[j], i2[k], M(j,k));
         }

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.