From: heister Date: Sat, 23 Oct 2010 18:38:48 +0000 (+0000) Subject: more compilation fixes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88aa44be0c74409fb1a6cf72019acbc2058a38c1;p=dealii-svn.git more compilation fixes. git-svn-id: https://svn.dealii.org/trunk@22440 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index e85470a3ba..539a5d215c 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -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 local_dof_indices;