]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Short circuit a test to make dof_tools_21 pass again.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 May 2013 13:16:35 +0000 (13:16 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 May 2013 13:16:35 +0000 (13:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@29533 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools.cc

index ee4c85332a50f4f84b391033e6355d957ba50a03..4772293030c1039569148d9267766da495cc5220 100644 (file)
@@ -2899,7 +2899,10 @@ namespace DoFTools
           // loop over all dofs on face 2 and constrain them again the ones on face 1
           for (unsigned int i=0; i<dofs_per_face; ++i)
             if (!constraint_matrix.is_constrained(dofs_2[i]))
-              if (component_mask[fe.face_system_to_component_index(i).first])
+              if ((component_mask.n_selected_components(fe.n_components())
+                  == fe.n_components())
+                 ||
+                 component_mask[fe.face_system_to_component_index(i).first])
                 {
                   constraint_matrix.add_line(dofs_2[i]);
                   for (unsigned int jj=0; jj<dofs_per_face; ++jj)

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.