From e6c6b4f67772898c7aba344d773f05af84c1593f Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sat, 28 Mar 2020 15:33:45 +0100 Subject: [PATCH] Instantiate ShapeInfo for all vectorized arrays --- source/matrix_free/matrix_free.cc | 4 ---- source/matrix_free/matrix_free.inst.in | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) 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>; + } -- 2.39.5