]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix undefined symbols on Mac. 366/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 23 Dec 2014 10:33:08 +0000 (11:33 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 23 Dec 2014 10:33:08 +0000 (11:33 +0100)
Deactivate ShapeInfo::reinit on MSVC target as proposed in c2021e2.

source/matrix_free/matrix_free.inst.in

index dfd4ce05ad996ff60ff0cd66c2afc053970c2fd0..0b7522c3f10d90601b262fe24b179a8be6eb64fd 100644 (file)
@@ -31,5 +31,14 @@ for (deal_II_dimension : DIMENSIONS)
 
   template struct internal::MatrixFreeFunctions::MappingInfo<deal_II_dimension,double>;
   template struct internal::MatrixFreeFunctions::MappingInfo<deal_II_dimension,float>;
+
+#ifndef DEAL_II_MSVC
+  template void internal::MatrixFreeFunctions::ShapeInfo<double>::reinit
+  <deal_II_dimension>(const Quadrature<1> &, const FiniteElement
+                      <deal_II_dimension,deal_II_dimension> &, const unsigned int);
+  template void internal::MatrixFreeFunctions::ShapeInfo<float>::reinit
+  <deal_II_dimension>(const Quadrature<1> &, const FiniteElement
+                      <deal_II_dimension,deal_II_dimension> &, const unsigned int);
+#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.