]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
When making hanging node constraints, take inhomogeneities into account - we need...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Feb 2009 17:28:09 +0000 (17:28 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Feb 2009 17:28:09 +0000 (17:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@18418 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index 408f0e96ea38af51ba349a1f53941e3760de7c0c..f0674131c55bfd1ef201a405ed30165c1775fbe4 100644 (file)
@@ -1679,6 +1679,7 @@ namespace internal
                                                master_dofs[i],
                                                face_constraints (row,i));
                       }
+                 constraints.set_inhomogeneity (slave_dofs[row], 0.);
                 }
             }      
       }
@@ -1887,6 +1888,8 @@ namespace internal
                    constraints.add_entry (dofs_on_children[row],
                                           dofs_on_mother[i],
                                           fe.constraints()(row,i));
+
+                 constraints.set_inhomogeneity (dofs_on_children[row], 0.);
                }
            }
          else
@@ -2120,6 +2123,8 @@ namespace internal
                    constraints.add_entry (dofs_on_children[row],
                                           dofs_on_mother[i],
                                           fe.constraints()(row,i));
+
+                 constraints.set_inhomogeneity(dofs_on_children[row], 0.);
                }
            }
          else

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.