]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor adjustments.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Feb 2007 05:50:28 +0000 (05:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Feb 2007 05:50:28 +0000 (05:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@14436 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index 199ecb5e5c9bc6b51772bf0ecf72622ac21f26b4..9b4908e85e6e0426cca8cd1886c625ada32dc0ac 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -810,11 +810,10 @@ template <>
 void
 FE_Q<3>::initialize_quad_dof_index_permutation ()
 {
-
   Assert (adjust_quad_dof_index_for_face_orientation_table.size()==this->dofs_per_quad,
          ExcInternalError());
 
-  unsigned int points=this->degree-1;
+  const unsigned int points = this->degree-1;
   Assert(points*points==this->dofs_per_quad, ExcInternalError());
                
   for (unsigned int local=0; local<this->dofs_per_quad; ++local)
@@ -822,7 +821,7 @@ FE_Q<3>::initialize_quad_dof_index_permutation ()
                                     // ordering with x running fastest. invert
                                     // that (y running fastest)
     this->adjust_quad_dof_index_for_face_orientation_table[local]
-      =(local%points)*points + local/points - local;
+      = (local%points)*points + local/points - local;
 }
 
 #endif

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.