]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add missing template specification
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 May 2010 15:42:21 +0000 (15:42 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 May 2010 15:42:21 +0000 (15:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@21135 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 95aacaecf874727a4be5781c02338613b6d77079..6da80980b9e7584c1e54f85bc128f9f4583a0a20 100644 (file)
@@ -105,15 +105,14 @@ namespace MeshWorker
     const bool integrate_interior_face = (face_worker != 0);
     
     dof_info.reset();
+    
+    dof_info.cell.reinit(cell);
+    info.cell.reinit(dof_info.cell);
                                     // Execute this, if cells
                                     // have to be dealt with
                                     // before faces
     if (integrate_cell && cells_first)
-      {
-       dof_info.cell.reinit(cell);
-       info.cell.reinit(dof_info.cell);
-       cell_worker(dof_info.cell, info.cell);
-      }
+      cell_worker(dof_info.cell, info.cell);
 
                                     // Call the callback function in
                                     // the info box to do
@@ -215,11 +214,7 @@ namespace MeshWorker
                                     // Execute this, if faces
                                     // have to be handled first
     if (integrate_cell && !cells_first)
-      {
-       dof_info.cell.reinit(cell);
-       info.cell.reinit(dof_info.cell);
-       cell_worker(dof_info.cell, info.cell);
-      }  
+      cell_worker(dof_info.cell, info.cell);
   }
   
   
@@ -270,7 +265,7 @@ namespace MeshWorker
     
     for (ITERATOR cell = begin; cell != end; ++cell)
       {
-       cell_action(cell, dof_info, info, cell_worker, boundary_worker, face_worker, cells_first, true);
+       cell_action<INFOBOX,DOFINFO,dim,spacedim>(cell, dof_info, info, cell_worker, boundary_worker, face_worker, cells_first, true);
        dof_info.assemble(assembler);
       }
   }

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.