]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Comment added
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Feb 2003 13:55:28 +0000 (13:55 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Feb 2003 13:55:28 +0000 (13:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@7240 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_renumbering.cc

index 7239aad6236f598859a3a514c4e91f4ac3a786b5..f03f71689c1802f1c03259e8ff42e80ecd37ad29 100644 (file)
@@ -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<n_cell_dofs;++i)

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.