From: guido Date: Sun, 28 Oct 2001 17:34:15 +0000 (+0000) Subject: bug removed? X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bf0853556d7219c6697cf07c2ee05b015db06c;p=dealii-svn.git bug removed? git-svn-id: https://svn.dealii.org/trunk@5165 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 0ebc434783..c4ab77fae4 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -533,8 +533,8 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler &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 &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 ();