]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
step 39 works again
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Jan 2010 21:31:12 +0000 (21:31 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Jan 2010 21:31:12 +0000 (21:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@20451 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-39/step-39.cc

index 54097ff1460108fb996498273a3688b859c397b7..51fd293606ab6dee489b8a3a301ae29c62664cd2 100644 (file)
@@ -453,7 +453,7 @@ Step39<dim>::assemble_mg_matrix()
   MeshWorker::IntegrationInfoBox<dim> info_box(mg_dof_handler);
   info_box.initialize(integration_worker, assembler, fe, mapping);
   MeshWorker::integration_loop<CellInfo, FaceInfo>(
-    dof_handler.begin_active(), dof_handler.end(),
+    mg_dof_handler.begin(), mg_dof_handler.end(),
     info_box,
     &MatrixIntegrator<dim>::cell,
     &MatrixIntegrator<dim>::bdry,
@@ -600,7 +600,7 @@ Step39<dim>::estimate()
   out_data.add(est, "cells");
   assembler.initialize(out_data, false);
   MeshWorker::IntegrationInfoBox<dim> info_box(dof_handler);
-  info_box.initialize(integration_worker, assembler, fe, mapping);
+  info_box.initialize(integration_worker, assembler, fe, mapping, solution_data);
   MeshWorker::integration_loop<CellInfo, FaceInfo> (
     dof_handler.begin_active(), dof_handler.end(),
     info_box,

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.