]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate ShapeInfo for all vectorized arrays
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 28 Mar 2020 14:33:45 +0000 (15:33 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 28 Mar 2020 14:34:06 +0000 (15:34 +0100)
source/matrix_free/matrix_free.cc
source/matrix_free/matrix_free.inst.in

index 12e6b5c4aa93e3411efbe84c40e28b501ab8931f..e73c54fd3925bb6b2d1370e19ca7aaeabf640bf4 100644 (file)
@@ -28,9 +28,5 @@ DEAL_II_NAMESPACE_OPEN
 
 template struct internal::MatrixFreeFunctions::ShapeInfo<double>;
 template struct internal::MatrixFreeFunctions::ShapeInfo<float>;
-template struct internal::MatrixFreeFunctions::ShapeInfo<
-  VectorizedArray<double>>;
-template struct internal::MatrixFreeFunctions::ShapeInfo<
-  VectorizedArray<float>>;
 
 DEAL_II_NAMESPACE_CLOSE
index 3485264e8331b29c2424dc2df479a1e34ef46abd..22762c607e2f2e6f5403af169644cbb16968931e 100644 (file)
@@ -125,3 +125,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
         const FiniteElement<deal_II_dimension, deal_II_space_dimension> &);
 #endif
   }
+
+for (deal_II_scalar_vectorized : REAL_SCALARS_VECTORIZED)
+  {
+    template struct internal::MatrixFreeFunctions::ShapeInfo<
+      deal_II_scalar_vectorized>;
+  }

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.