]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor simplification.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Jan 2010 01:15:03 +0000 (01:15 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Jan 2010 01:15:03 +0000 (01:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@20394 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/mesh_worker_loop.h

index 7132492b81746967c0f1f1f2b47e009105df5df8..e358090f9acf307a010e7f89c3a40548ba74ca06 100644 (file)
@@ -66,7 +66,7 @@ namespace MeshWorker
  * @ingroup MeshWorker
  * @author Guido Kanschat, 2009
  */
-  template<class ITERATOR, class CELLINFO, class FACEINFO>
+  template<class CELLINFO, class FACEINFO, class ITERATOR>
   void loop(ITERATOR begin,
            typename identity<ITERATOR>::type end,
            CELLINFO& cellinfo, FACEINFO& bdryinfo,
@@ -199,17 +199,15 @@ namespace MeshWorker
     typedef typename IntegrationInfoBox<dim, dim>::CellInfo CELLINFO;
     typedef typename IntegrationInfoBox<dim, dim>::FaceInfo FACEINFO;
 
-    loop<ITERATOR,
-      CELLINFO,
-      FACEINFO>
+    loop<CELLINFO,FACEINFO>
       (begin, end,
-         box.cell_info, box.bdry_info,
-         box.face_info,
-         box.subface_info, box.neighbor_info,
-         std_cxx1x::bind (&LOCALWORKER::cell, localworker, _1),
-         std_cxx1x::bind (&LOCALWORKER::bdry, localworker, _1),
-         std_cxx1x::bind (&LOCALWORKER::face, localworker, _1, _2),
-         cells_first);
+       box.cell_info, box.bdry_info,
+       box.face_info,
+       box.subface_info, box.neighbor_info,
+       std_cxx1x::bind (&LOCALWORKER::cell, localworker, _1),
+       std_cxx1x::bind (&LOCALWORKER::bdry, localworker, _1),
+       std_cxx1x::bind (&LOCALWORKER::face, localworker, _1, _2),
+       cells_first);
   }
 }
 

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.