]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
more compilation fixes.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 18:38:48 +0000 (18:38 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 18:38:48 +0000 (18:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@22440 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index e85470a3bae5115d8b3cf31fddcaab58759e7175..539a5d215c838d03fdb6c17045d6cd5d82c3c63f 100644 (file)
@@ -4568,6 +4568,7 @@ IndexSet
 DoFTools::dof_indices_with_subdomain_association (const DH           &dof_handler,
                                                  const types::subdomain_id_t subdomain)
 {
+#ifdef DEAL_II_USE_P4EST
                                   // if the DoFHandler is distributed, the
                                   // only thing we can usefully ask is for
                                   // its locally owned subdomain
@@ -4582,7 +4583,8 @@ DoFTools::dof_indices_with_subdomain_association (const DH           &dof_handle
          ExcMessage ("For parallel::distributed::Triangulation objects and "
                      "associated DoF handler objects, asking for any subdomain other "
                      "than the locally owned one does not make sense."));
-
+#endif
+  
   IndexSet index_set (dof_handler.n_dofs());
 
   std::vector<unsigned int> local_dof_indices;

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.