]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix clear function of MatrixFree
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 May 2013 06:46:27 +0000 (06:46 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 May 2013 06:46:27 +0000 (06:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@29515 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/matrix_free/matrix_free.templates.h

index b03f07fea9b37a18816a3d938d93d1b1e6c6537e..301920ad234d595d7c72929dd746cd0fef4bc32d 100644 (file)
@@ -793,6 +793,8 @@ void MatrixFree<dim,Number>::clear()
   cell_level_index.clear();
   size_info.clear();
   task_info.clear();
+  dof_handlers.dof_handler.clear();
+  dof_handlers.hp_dof_handler.clear();
   indices_are_initialized = false;
   mapping_is_initialized  = false;
 }

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.