From 685467bbdaac0347a782f8a8667bbe0e59398b3f Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 6 May 2022 18:58:44 +0200 Subject: [PATCH] Reduce number of instantiations of FEEvaluation template factory --- source/matrix_free/CMakeLists.txt | 4 ---- .../matrix_free/evaluation_template_factory.cc | 2 +- .../evaluation_template_factory_inst10.cc | 17 ----------------- .../evaluation_template_factory_inst7.cc | 17 ----------------- .../evaluation_template_factory_inst8.cc | 17 ----------------- .../evaluation_template_factory_inst9.cc | 17 ----------------- 6 files changed, 1 insertion(+), 73 deletions(-) delete mode 100644 source/matrix_free/evaluation_template_factory_inst10.cc delete mode 100644 source/matrix_free/evaluation_template_factory_inst7.cc delete mode 100644 source/matrix_free/evaluation_template_factory_inst8.cc delete mode 100644 source/matrix_free/evaluation_template_factory_inst9.cc diff --git a/source/matrix_free/CMakeLists.txt b/source/matrix_free/CMakeLists.txt index ecc6b35ab3..aef4eddbda 100644 --- a/source/matrix_free/CMakeLists.txt +++ b/source/matrix_free/CMakeLists.txt @@ -23,10 +23,6 @@ SET(_src evaluation_template_factory_inst4.cc evaluation_template_factory_inst5.cc evaluation_template_factory_inst6.cc - evaluation_template_factory_inst7.cc - evaluation_template_factory_inst8.cc - evaluation_template_factory_inst9.cc - evaluation_template_factory_inst10.cc evaluation_template_factory_hanging_nodes.cc evaluation_template_face_factory.cc evaluation_template_face_factory_inst2.cc diff --git a/source/matrix_free/evaluation_template_factory.cc b/source/matrix_free/evaluation_template_factory.cc index 9d2bf69319..cab955b323 100644 --- a/source/matrix_free/evaluation_template_factory.cc +++ b/source/matrix_free/evaluation_template_factory.cc @@ -18,7 +18,7 @@ DEAL_II_NAMESPACE_OPEN -#define SPLIT_INSTANTIATIONS_COUNT 10 +#define SPLIT_INSTANTIATIONS_COUNT 6 #ifndef SPLIT_INSTANTIATIONS_INDEX # define SPLIT_INSTANTIATIONS_INDEX 0 #endif diff --git a/source/matrix_free/evaluation_template_factory_inst10.cc b/source/matrix_free/evaluation_template_factory_inst10.cc deleted file mode 100644 index b93c12d5a0..0000000000 --- a/source/matrix_free/evaluation_template_factory_inst10.cc +++ /dev/null @@ -1,17 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2022 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - -#define SPLIT_INSTANTIATIONS_INDEX 9 -#include "evaluation_template_factory.cc" diff --git a/source/matrix_free/evaluation_template_factory_inst7.cc b/source/matrix_free/evaluation_template_factory_inst7.cc deleted file mode 100644 index d71730bdc3..0000000000 --- a/source/matrix_free/evaluation_template_factory_inst7.cc +++ /dev/null @@ -1,17 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2022 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - -#define SPLIT_INSTANTIATIONS_INDEX 6 -#include "evaluation_template_factory.cc" diff --git a/source/matrix_free/evaluation_template_factory_inst8.cc b/source/matrix_free/evaluation_template_factory_inst8.cc deleted file mode 100644 index 47f1f7a3fe..0000000000 --- a/source/matrix_free/evaluation_template_factory_inst8.cc +++ /dev/null @@ -1,17 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2022 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - -#define SPLIT_INSTANTIATIONS_INDEX 7 -#include "evaluation_template_factory.cc" diff --git a/source/matrix_free/evaluation_template_factory_inst9.cc b/source/matrix_free/evaluation_template_factory_inst9.cc deleted file mode 100644 index 94dc699ee6..0000000000 --- a/source/matrix_free/evaluation_template_factory_inst9.cc +++ /dev/null @@ -1,17 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2022 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - -#define SPLIT_INSTANTIATIONS_INDEX 8 -#include "evaluation_template_factory.cc" -- 2.39.5