]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add instantiations for dim=1, spacedim=3 to avoid undefined symbols with Intel compiler
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 23 Jul 2013 08:33:32 +0000 (08:33 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 23 Jul 2013 08:33:32 +0000 (08:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@30123 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools.inst.in

index d5d3b5dba2815483ed29d748b77f3cc395c512ad..17d1beaa6caae0580143f1fd7da74d51ae016837 100644 (file)
@@ -296,11 +296,11 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS)
      const std::vector<types::global_dof_index>  &,
      SP    &);
 
-    //template void
-    //DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
-    //(const hp::DoFHandler<1,3>& dof,
-    // const std::vector<types::global_dof_index>  &,
-    // SP    &);
+    template void
+    DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
+    (const hp::DoFHandler<1,3>& dof,
+     const std::vector<types::global_dof_index>  &,
+     SP    &);
 
     template void
     DoFTools::make_boundary_sparsity_pattern<DoFHandler<1,3>,SP>
@@ -309,12 +309,12 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS)
      const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
      SP    &sparsity);
 
-    //template void
-    //DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
-    //(const hp::DoFHandler<1,3>& dof,
-    // const FunctionMap<3>::type  &boundary_indicators,
-    // const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
-    // SP    &sparsity);
+    template void
+    DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
+    (const hp::DoFHandler<1,3>& dof,
+     const FunctionMap<3>::type  &boundary_indicators,
+     const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
+     SP    &sparsity);
 
 #endif
 
@@ -1179,18 +1179,18 @@ DoFTools::extract_hanging_node_dofs
 (const DoFHandler<1,3> &dof_handler,
  std::vector<bool>     &selected_dofs);
 
-// template
-// void
-// DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
-// (const hp::DoFHandler<1,3> &,
-//  const std::set<unsigned char> &,
-//  std::vector<types::global_dof_index> &);
-
-// template
-// void
-// DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
-// (const hp::DoFHandler<1,3> &,
-//  std::vector<types::global_dof_index> &);
+template
+void
+DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
+(const hp::DoFHandler<1,3> &,
+ const std::set<unsigned char> &,
+ std::vector<types::global_dof_index> &);
+
+template
+void
+DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
+(const hp::DoFHandler<1,3> &,
+ std::vector<types::global_dof_index> &);
 
 #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.