]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
only initialize cell data if cells are integrated
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Aug 2011 10:30:33 +0000 (10:30 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Aug 2011 10:30:33 +0000 (10:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@24028 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 35e143e1af28f91d8151ffc15760b2871a1e9835..e1a5c2de3c9af16061d668951c104a869b4eae3d 100644 (file)
@@ -110,7 +110,8 @@ namespace MeshWorker
     dof_info.reset();
 
     dof_info.cell.reinit(cell);
-    info.cell.reinit(dof_info.cell);
+    if (integrate_cell)
+      info.cell.reinit(dof_info.cell);
                                     // Execute this, if cells
                                     // have to be dealt with
                                     // before faces

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.