]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix serialize_hp_dof_handler 4582/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 7 Jul 2017 13:57:59 +0000 (15:57 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 7 Jul 2017 13:57:59 +0000 (15:57 +0200)
source/dofs/dof_handler.cc

index 11376c30be2179b8f94666721e5b72d8909e554a..7c3ea27e25be936225c5da2158642b9337361f81 100644 (file)
@@ -66,7 +66,8 @@ namespace internal
   std::string policy_to_string(const dealii::internal::DoFHandler::Policy::PolicyBase<dim,spacedim> &policy)
   {
     std::string policy_name;
-    if (dynamic_cast<const typename dealii::internal::DoFHandler::Policy::Sequential<dealii::DoFHandler<dim,spacedim> >*>(&policy))
+    if (dynamic_cast<const typename dealii::internal::DoFHandler::Policy::Sequential<dealii::DoFHandler<dim,spacedim> >*>(&policy)
+        || dynamic_cast<const typename dealii::internal::DoFHandler::Policy::Sequential<dealii::hp::DoFHandler<dim,spacedim> >*>(&policy))
       policy_name = "Policy::Sequential<";
     else if (dynamic_cast<const typename dealii::internal::DoFHandler::Policy::ParallelDistributed<dim,spacedim>*>(&policy))
       policy_name = "Policy::ParallelDistributed<";

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.