From 88aa44be0c74409fb1a6cf72019acbc2058a38c1 Mon Sep 17 00:00:00 2001 From: heister Date: Sat, 23 Oct 2010 18:38:48 +0000 Subject: [PATCH] more compilation fixes. git-svn-id: https://svn.dealii.org/trunk@22440 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_tools.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5