]> https://gitweb.dealii.org/ - dealii.git/commitdiff
instantiate extract_dofs for codim !=0
authoralberto sartori <alberto.sartori86@gmail.com>
Wed, 13 Jan 2016 09:35:12 +0000 (10:35 +0100)
committeralberto sartori <alberto.sartori86@gmail.com>
Wed, 13 Jan 2016 13:47:40 +0000 (14:47 +0100)
source/dofs/dof_tools.inst.in

index 9fcb343179125d84bdc36f6fea5649f859843566..89b18ca7de186cdb19e8dc6b492b2498323aca4a 100644 (file)
@@ -83,25 +83,6 @@ DoFTools::distribute_cell_to_dof_vector<hp::DoFHandler<deal_II_dimension> >
  const unsigned int    component);
 
 
-template void DoFTools::extract_dofs<deal_II_dimension>
-(const DoFHandler<deal_II_dimension>&,
- const ComponentMask &,
- std::vector<bool>&);
-
-template void DoFTools::extract_dofs<deal_II_dimension>
-(const DoFHandler<deal_II_dimension>&,
- const BlockMask &,
- std::vector<bool>&);
-
-template void DoFTools::extract_dofs<deal_II_dimension>
-(const hp::DoFHandler<deal_II_dimension>&,
- const ComponentMask &,
- std::vector<bool>&);
-
-template void DoFTools::extract_dofs<deal_II_dimension>
-(const hp::DoFHandler<deal_II_dimension>&,
- const BlockMask &,
- std::vector<bool>&);
 
 template void DoFTools::extract_level_dofs<DoFHandler<deal_II_dimension> >
 (const unsigned int level,
@@ -330,6 +311,7 @@ DoFTools::count_dofs_with_subdomain_association<hp::DoFHandler<deal_II_dimension
  std::vector<unsigned int> &);
 
 #if deal_II_dimension < 3
+
 template
 void
 DoFTools::extract_boundary_dofs<DoFHandler<deal_II_dimension,deal_II_dimension+1> >
@@ -820,6 +802,35 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
         std::vector<types::global_dof_index>
         get_dofs_on_patch<hp::DoFHandler<deal_II_dimension,deal_II_space_dimension> >
         (const std::vector<hp::DoFHandler<deal_II_dimension,deal_II_space_dimension>::active_cell_iterator> &patch);
+
+        template
+       void
+       extract_dofs<deal_II_dimension,deal_II_space_dimension>
+        (const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+         const ComponentMask &,
+         std::vector<bool>&);
+
+        template
+       void
+       extract_dofs<deal_II_dimension,deal_II_space_dimension>
+        (const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+         const BlockMask &,
+         std::vector<bool>&);
+
+        template
+       void
+       extract_dofs<deal_II_dimension,deal_II_space_dimension>
+        (const hp::DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+         const ComponentMask &,
+         std::vector<bool>&);
+
+        template
+       void
+       extract_dofs<deal_II_dimension,deal_II_space_dimension>
+        (const hp::DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+         const BlockMask &,
+         std::vector<bool>&);
+
       \}
     #endif
 }

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.