From: guido Date: Tue, 25 Feb 2003 13:55:28 +0000 (+0000) Subject: Comment added X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f149f3b06021ff0b679629a30028b8af1c32c81c;p=dealii-svn.git Comment added git-svn-id: https://svn.dealii.org/trunk@7240 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index 7239aad623..f03f71689c 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -866,6 +866,11 @@ DoFRenumbering::compute_cell_wise_dg ( for(cell = cells.begin(); cell != cells.end(); ++cell) { (*cell)->get_dof_indices(cell_dofs); + + // Sort here to make sure that + // degrees of freedom inside a + // single cell are in the same + // order after renumbering. std::sort(cell_dofs.begin(), cell_dofs.end()); for (unsigned int i=0;i