]> https://gitweb.dealii.org/ - dealii.git/commitdiff
instantiate n_boundary_dofs() for COMPLEX_SCALARS
authorDenis Davydov <davydden@gmail.com>
Sat, 27 Feb 2016 20:19:22 +0000 (21:19 +0100)
committerDenis Davydov <davydden@gmail.com>
Sat, 27 Feb 2016 21:29:10 +0000 (22:29 +0100)
source/dofs/dof_handler.inst.in
source/hp/dof_handler.inst.in

index 17dcab09ff4b58ce7d9f7db2f3ffb0f042e7ce21..36fbf89684359487aa5f114a563ba59940a80e8a 100644 (file)
@@ -18,6 +18,16 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS)
   {
     template types::global_dof_index DoFHandler<deal_II_dimension>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension,scalar>*> &boundary_ids) const;
     
+#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
+    
+  }
+  
+for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
+  {
+    template types::global_dof_index DoFHandler<deal_II_dimension>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension,scalar>*> &boundary_ids) const;
+    
 #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
index dff1f33058018f0fc1ece6f783a80a98b3cfe2be..4d67b9847b59b134157b390f5963666bf5fe7c4d 100644 (file)
@@ -24,6 +24,18 @@ for (scalar: REAL_SCALARS; deal_II_dimension : DIMENSIONS)
 #endif
     \}
   }
+  
+for (scalar: COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
+  {
+    namespace hp
+    \{
+      template types::global_dof_index DoFHandler<deal_II_dimension>::n_boundary_dofs<scalar> (const std::map<types::boundary_id, const Function<deal_II_dimension,scalar>*> &boundary_ids) const;
+    
+#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
+    \}
+  }
 
 
 for (deal_II_dimension : DIMENSIONS)

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.