]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Check in a bit of debug code that I will remove again later on.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Sep 2006 14:50:06 +0000 (14:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Sep 2006 14:50:06 +0000 (14:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@13906 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 9bd5a6d2a61e780805a3ed2b5d468db27cc0f26a..4b81357ae4c9027ec936abee18ec8acc65dc09c4 100644 (file)
@@ -1610,9 +1610,17 @@ namespace internal
                constraints.add_line (dofs_child[col]);
                for (unsigned int i=0; i!=n_dofs_mother; ++i)
                   if (face_constraints(i,col) != 0)
-                    constraints.add_entry (dofs_child[col],
-                                           dofs_mother[i],
-                                           face_constraints (i,col));
+                   {
+#ifdef WOLFGANG
+                     std::cout << "   " << dofs_child[col]
+                               << " -> " << face_constraints (i,col) << " * "
+                               << dofs_mother[i]
+                               << std::endl;
+#endif
+                     constraints.add_entry (dofs_child[col],
+                                            dofs_mother[i],
+                                            face_constraints (i,col));
+                   }
              }  
          }      
       }
@@ -2241,6 +2249,13 @@ namespace internal
 
                                                         // Add constraints to global constraint
                                                         // matrix.
+#ifdef WOLFGANG
+                       std::cout << "Constraints for cell=" << cell
+                                 << ", face=" << face
+                                 << ", subface=" << c
+                                 << std::endl;
+#endif
+                       
                        filter_constraints (dofs_on_mother,
                                            dofs_on_children,
                                            face_constraints,
@@ -2468,6 +2483,12 @@ namespace internal
 
                                                     // Add constraints to global constraint
                                                     // matrix.
+#ifdef WOLFGANG
+                   std::cout << "Constraints for cell=" << cell
+                             << ", face=" << face
+                             << " (complicated case, mother)"
+                             << std::endl;
+#endif
                    filter_constraints (dofs_on_children,
                                        dofs_on_mother,
                                        fc_mother_sface,
@@ -2513,6 +2534,13 @@ namespace internal
 
                                                           // Add constraints to global constraint
                                                           // matrix.
+#ifdef WOLFGANG
+                         std::cout << "Constraints for cell=" << cell
+                                   << ", face=" << face
+                                   << ", subface=" << c
+                                   << " (complicated case, children)"
+                                   << std::endl;
+#endif
                          filter_constraints (dofs_on_children,
                                              dofs_on_mother,
                                              fc_child_sface_sface,
@@ -2585,6 +2613,10 @@ namespace internal
 
                                                        // Add constraints to global constraint
                                                        // matrix.
+#ifdef WOLFGANG                      
+                     std::cout << "p-constraints for cell=" << cell
+                               << ", face=" << face << std::endl;
+#endif
                       filter_constraints (dofs_on_mother,
                                           dofs_on_children,
                                           face_constraints,

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.