From: heltai Date: Fri, 10 Jun 2011 10:13:26 +0000 (+0000) Subject: Added instantiations for boundary extraction in codim one X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaec5f3c220b7d9682558c6e7dc57112ae475d57;p=dealii-svn.git Added instantiations for boundary extraction in codim one git-svn-id: https://svn.dealii.org/trunk@23805 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_tools.cc b/deal.II/source/dofs/dof_tools.cc index 3fe723ba72..787d89041e 100644 --- a/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/source/dofs/dof_tools.cc @@ -750,7 +750,7 @@ namespace DoFTools const Table<2,Coupling> &int_mask, const Table<2,Coupling> &flux_mask) { - const FiniteElement &fe = dof.get_fe(); + const FiniteElement &fe = dof.get_fe(); std::vector dofs_on_this_cell(fe.dofs_per_cell); std::vector dofs_on_other_cell(fe.dofs_per_cell); @@ -1210,13 +1210,13 @@ namespace DoFTools // beginning of this function. std::vector user_flags; dof.get_tria().save_user_flags(user_flags); - const_cast &>(dof.get_tria()).clear_user_flags (); + const_cast &>(dof.get_tria()).clear_user_flags (); internal::make_flux_sparsity_pattern (dof, sparsity, int_mask, flux_mask); // finally restore the user flags - const_cast &>(dof.get_tria()).load_user_flags(user_flags); + const_cast &>(dof.get_tria()).load_user_flags(user_flags); } @@ -3406,7 +3406,7 @@ namespace DoFTools Vector &dof_data, const unsigned int component) { - const Triangulation &tria = dof_handler.get_tria(); + const Triangulation &tria = dof_handler.get_tria(); Assert (cell_data.size()==tria.n_active_cells(), ExcWrongSize (cell_data.size(), tria.n_active_cells())); @@ -3745,6 +3745,7 @@ namespace DoFTools Assert (boundary_indicators.find (255) == boundary_indicators.end(), ExcInvalidBoundaryIndicator()); const unsigned int dim=DH::dimension; + const unsigned int spacedim=DH::space_dimension; // let's see whether we have to // check for certain boundary @@ -3788,7 +3789,7 @@ namespace DoFTools (boundary_indicators.find (cell->face(face)->boundary_indicator()) != boundary_indicators.end())) { - const FiniteElement &fe = cell->get_fe(); + const FiniteElement &fe = cell->get_fe(); const unsigned int dofs_per_face = fe.dofs_per_face; face_dof_indices.resize (dofs_per_face); @@ -3913,7 +3914,7 @@ namespace DoFTools (boundary_indicators.find (cell->face(face)->boundary_indicator()) != boundary_indicators.end())) { - const FiniteElement &fe = cell->get_fe(); + const FiniteElement &fe = cell->get_fe(); const unsigned int dofs_per_cell = fe.dofs_per_cell; cell_dof_indices.resize (dofs_per_cell); diff --git a/deal.II/source/dofs/dof_tools.inst.in b/deal.II/source/dofs/dof_tools.inst.in index adbc04d862..ddabf8f8c2 100644 --- a/deal.II/source/dofs/dof_tools.inst.in +++ b/deal.II/source/dofs/dof_tools.inst.in @@ -426,6 +426,13 @@ DoFTools::count_dofs_with_subdomain_association > + (const DoFHandler &, + const std::vector &, + std::vector &, + const std::set &); +template unsigned int DoFTools::count_dofs_with_subdomain_association > (const DoFHandler &,