From: Martin Kronbichler Date: Sat, 28 Mar 2020 14:33:45 +0000 (+0100) Subject: Instantiate ShapeInfo for all vectorized arrays X-Git-Tag: v9.2.0-rc1~342^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c6b4f67772898c7aba344d773f05af84c1593f;p=dealii.git Instantiate ShapeInfo for all vectorized arrays --- diff --git a/source/matrix_free/matrix_free.cc b/source/matrix_free/matrix_free.cc index 12e6b5c4aa..e73c54fd39 100644 --- a/source/matrix_free/matrix_free.cc +++ b/source/matrix_free/matrix_free.cc @@ -28,9 +28,5 @@ DEAL_II_NAMESPACE_OPEN template struct internal::MatrixFreeFunctions::ShapeInfo; template struct internal::MatrixFreeFunctions::ShapeInfo; -template struct internal::MatrixFreeFunctions::ShapeInfo< - VectorizedArray>; -template struct internal::MatrixFreeFunctions::ShapeInfo< - VectorizedArray>; DEAL_II_NAMESPACE_CLOSE diff --git a/source/matrix_free/matrix_free.inst.in b/source/matrix_free/matrix_free.inst.in index 3485264e83..22762c607e 100644 --- a/source/matrix_free/matrix_free.inst.in +++ b/source/matrix_free/matrix_free.inst.in @@ -125,3 +125,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS; const FiniteElement &); #endif } + +for (deal_II_scalar_vectorized : REAL_SCALARS_VECTORIZED) + { + template struct internal::MatrixFreeFunctions::ShapeInfo< + deal_II_scalar_vectorized>; + }