]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add guard to only compile with sensible <dim,spacedim> combinations 3594/head
authorKarl Ljungkvist <k.ljungkvist@gmail.com>
Mon, 21 Nov 2016 08:28:11 +0000 (09:28 +0100)
committerKarl Ljungkvist <k.ljungkvist@gmail.com>
Mon, 21 Nov 2016 08:28:11 +0000 (09:28 +0100)
source/multigrid/mg_transfer_internal.inst.in

index baba487b99699e4acadc6a1fcbab37347a795522..bab949b153a4615408493df6f2ea27bc4d9f6c63 100644 (file)
@@ -23,6 +23,7 @@ for (deal_II_dimension : DIMENSIONS;
     namespace MGTransfer
     \{
 
+#if deal_II_dimension <= deal_II_space_dimension
     template
     void fill_copy_indices<deal_II_dimension, deal_II_space_dimension>(
         const dealii::DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
@@ -30,7 +31,7 @@ for (deal_II_dimension : DIMENSIONS;
         std::vector<std::vector<std::pair<types::global_dof_index, types::global_dof_index> > > &,
         std::vector<std::vector<std::pair<types::global_dof_index, types::global_dof_index> > > &,
         std::vector<std::vector<std::pair<types::global_dof_index, 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.