]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed bug regarding the use of ComponentMask in make_zero_boundary_constraints.
authorDaniel Arndt <d.arndt@math.uni-goettingen.de>
Wed, 20 Nov 2013 17:35:25 +0000 (17:35 +0000)
committerDaniel Arndt <d.arndt@math.uni-goettingen.de>
Wed, 20 Nov 2013 17:35:25 +0000 (17:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@31732 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools_constraints.cc

index acc7ba92b13d191282b16940b0acd268e8d99560..3f9a9450bfc82127af48f5562077791857e16d19 100644 (file)
@@ -2889,7 +2889,7 @@ namespace DoFTools
                     // Find out if a dof has a contribution in this
                     // component, and if so, add it to the list
                     const ComponentMask &nonzero_component_array
-                      = cell->get_fe().get_nonzero_components (i);
+                      = cell->get_fe().get_nonzero_components (face_dofs[i]);
                     bool nonzero = false;
                     for (unsigned int c=0; c<n_components; ++c)
                       if (nonzero_component_array[c] && component_mask[c])

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.