]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug removed?
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 28 Oct 2001 17:34:15 +0000 (17:34 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 28 Oct 2001 17:34:15 +0000 (17:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@5165 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 0ebc434783ed49f9c012c20f419f07e51d7f25b0..c4ab77fae445da9550eb6e3b1f8d8200240de9c6 100644 (file)
@@ -533,8 +533,8 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler<dim> &dof,
                                sparsity.add (dofs_on_this_cell[i],
                                              dofs_on_other_cell[j]);
                              if (flux_dof_mask[j][i])
-                               sparsity.add (dofs_on_other_cell[i],
-                                             dofs_on_this_cell[j]);
+                               sparsity.add (dofs_on_other_cell[j],
+                                             dofs_on_this_cell[i]);
                            }
                        }
                      sub_neighbor->face(neighbor_face)->set_user_flag ();
@@ -549,8 +549,8 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler<dim> &dof,
                            sparsity.add (dofs_on_this_cell[i],
                                          dofs_on_other_cell[j]);
                          if (flux_dof_mask[j][i])
-                           sparsity.add (dofs_on_other_cell[i],
-                                         dofs_on_this_cell[j]);
+                           sparsity.add (dofs_on_other_cell[j],
+                                         dofs_on_this_cell[i]);
                        }
                    }
                  neighbor->face(neighbor_face)->set_user_flag (); 

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.