]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add missing instantiations 2550/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 24 Apr 2016 18:33:36 +0000 (20:33 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 24 Apr 2016 18:33:36 +0000 (20:33 +0200)
source/dofs/dof_handler.inst.in
source/dofs/dof_tools_sparsity.inst.in
source/hp/dof_handler.inst.in

index 36fbf89684359487aa5f114a563ba59940a80e8a..e49392869448a6823c6d6acccbf03a7470b4d238 100644 (file)
@@ -21,6 +21,10 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS)
 #if deal_II_dimension < 3
     template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+1>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+1,scalar>*> &boundary_ids) const;
 #endif
+
+#if deal_II_dimension == 1
+    template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+2>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*> &boundary_ids) const;
+#endif
     
   }
   
@@ -31,6 +35,10 @@ for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
 #if deal_II_dimension < 3
     template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+1>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+1,scalar>*> &boundary_ids) const;
 #endif
+
+#if deal_II_dimension == 1
+    template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+2>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*> &boundary_ids) const;
+#endif
     
   }
 
index 440a1890b2310fefcc5d1c53dfde3f4ae55bccb5..a5fdc03a5b0168300f2f3fda01b822cc663f2e0f 100644 (file)
@@ -52,6 +52,22 @@ for (scalar: REAL_SCALARS; SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSION
     // SP    &sparsity);
   
 #endif     
+
+#if deal_II_dimension == 1
+    template void
+    DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+2>,SP,scalar>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+2>& dof,
+     const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*>  &boundary_ids,
+     const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
+     SP    &sparsity);
+     
+    template void
+    DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+2>,SP,scalar>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension+2>& dof,
+     const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*> &boundary_ids,
+     const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
+     SP    &sparsity);
+#endif
      
   }
 
@@ -321,20 +337,6 @@ for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS)
      const std::vector<types::global_dof_index>  &,
      SP    &);
 
-    template void
-    DoFTools::make_boundary_sparsity_pattern<DoFHandler<1,3>,SP,double>
-    (const DoFHandler<1,3>& dof,
-     const std::map<types::boundary_id, const Function<3,double>*>  &boundary_ids,
-     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,double>
-    (const hp::DoFHandler<1,3>& dof,
-     const std::map<types::boundary_id, const Function<3,double>*> &boundary_ids,
-     const std::vector<types::global_dof_index>  &dof_to_boundary_mapping,
-     SP    &sparsity);
-
 #endif
 
   }
index 4d67b9847b59b134157b390f5963666bf5fe7c4d..35bff5a06c9e271d460ea8f1342425315c43284f 100644 (file)
@@ -22,6 +22,10 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS)
 #if deal_II_dimension < 3
       template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+1>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+1,scalar>*> &boundary_ids) const;
 #endif
+
+#if deal_II_dimension == 1
+      template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+2>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*> &boundary_ids) const;
+#endif
     \}
   }
   
@@ -34,6 +38,10 @@ for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
 #if deal_II_dimension < 3
       template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+1>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+1,scalar>*> &boundary_ids) const;
 #endif
+    
+#if deal_II_dimension == 1
+      template types::global_dof_index DoFHandler<deal_II_dimension,deal_II_dimension+2>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension+2,scalar>*> &boundary_ids) const;
+#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.