From: kanschat Date: Mon, 17 May 2010 15:42:21 +0000 (+0000) Subject: add missing template specification X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d894a9399aada489ef7b763441c0121744228125;p=dealii-svn.git add missing template specification git-svn-id: https://svn.dealii.org/trunk@21135 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/mesh_worker_loop.h b/deal.II/deal.II/include/numerics/mesh_worker_loop.h index 95aacaecf8..6da80980b9 100644 --- a/deal.II/deal.II/include/numerics/mesh_worker_loop.h +++ b/deal.II/deal.II/include/numerics/mesh_worker_loop.h @@ -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(cell, dof_info, info, cell_worker, boundary_worker, face_worker, cells_first, true); dof_info.assemble(assembler); } }