const types::subdomain_id_t subdomain_id_,
const unsigned int material_id)
{
+#ifdef DEAL_II_USE_P4EST
if (dynamic_cast<const parallel::distributed::Triangulation<1,spacedim>*>
(&dof_handler.get_tria())
!= 0)
(dof_handler.get_tria()).locally_owned_subdomain()
:
subdomain_id_);
-
+#else
+ const types::subdomain_id_t subdomain_id
+ = subdomain_id_;
+#endif
const unsigned int n_components = dof_handler.get_fe().n_components();
const unsigned int n_solution_vectors = solutions.size();
const types::subdomain_id_t subdomain_id_,
const unsigned int material_id)
{
+#ifdef DEAL_II_USE_P4EST
if (dynamic_cast<const parallel::distributed::Triangulation<dim,spacedim>*>
(&dof_handler.get_tria())
!= 0)
(dof_handler.get_tria()).locally_owned_subdomain()
:
subdomain_id_);
-
+#else
+ const types::subdomain_id_t subdomain_id
+ = subdomain_id_;
+#endif
const unsigned int n_components = dof_handler.get_fe().n_components();