From ef5e69ea7ea419753bbee764ffc5c20c4fc8a94a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 7 Jun 2018 00:26:34 +0200 Subject: [PATCH] Explicitly define VectorizedArray::n_array_elements --- source/base/CMakeLists.txt | 1 + source/base/vectorization.cc | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 source/base/vectorization.cc diff --git a/source/base/CMakeLists.txt b/source/base/CMakeLists.txt index a95b341c0d..392357a129 100644 --- a/source/base/CMakeLists.txt +++ b/source/base/CMakeLists.txt @@ -81,6 +81,7 @@ SET(_unity_include_src timer.cc time_stepping.cc utilities.cc + vectorization.cc ) SET(_separate_src diff --git a/source/base/vectorization.cc b/source/base/vectorization.cc new file mode 100644 index 0000000000..28c5e98299 --- /dev/null +++ b/source/base/vectorization.cc @@ -0,0 +1,23 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2018 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + +#include + +DEAL_II_NAMESPACE_OPEN + +constexpr unsigned int VectorizedArray::n_array_elements; +constexpr unsigned int VectorizedArray::n_array_elements; + +DEAL_II_NAMESPACE_CLOSE -- 2.39.5