From 97dd7f9fe3c8dc55d970045dbfabb01d2c589698 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 25 Sep 2020 16:57:20 +0200 Subject: [PATCH] Remove unnecessary instantiation files --- source/matrix_free/CMakeLists.txt | 2 - source/matrix_free/evaluation_selector.cc | 23 ---------- .../matrix_free/evaluation_selector.inst.in | 42 ------------------- source/numerics/CMakeLists.txt | 2 - source/numerics/vector_tools_project.cc | 4 -- source/numerics/vector_tools_project_inst2.cc | 18 -------- source/numerics/vector_tools_project_inst3.cc | 18 -------- 7 files changed, 109 deletions(-) delete mode 100644 source/matrix_free/evaluation_selector.cc delete mode 100644 source/matrix_free/evaluation_selector.inst.in delete mode 100644 source/numerics/vector_tools_project_inst2.cc delete mode 100644 source/numerics/vector_tools_project_inst3.cc diff --git a/source/matrix_free/CMakeLists.txt b/source/matrix_free/CMakeLists.txt index 9249b5dd6f..1fe2e83174 100644 --- a/source/matrix_free/CMakeLists.txt +++ b/source/matrix_free/CMakeLists.txt @@ -17,7 +17,6 @@ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) SET(_src dof_info.cc - evaluation_selector.cc evaluation_template_factory.cc evaluation_template_factory_inst2.cc evaluation_template_factory_inst3.cc @@ -33,7 +32,6 @@ SET(_src ) SET(_inst - evaluation_selector.inst.in evaluation_template_factory.inst.in mapping_info.inst.in matrix_free.inst.in diff --git a/source/matrix_free/evaluation_selector.cc b/source/matrix_free/evaluation_selector.cc deleted file mode 100644 index bc29759d9a..0000000000 --- a/source/matrix_free/evaluation_selector.cc +++ /dev/null @@ -1,23 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 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. -// -// --------------------------------------------------------------------- - - -#include - -DEAL_II_NAMESPACE_OPEN - -#include "evaluation_selector.inst" - -DEAL_II_NAMESPACE_CLOSE diff --git a/source/matrix_free/evaluation_selector.inst.in b/source/matrix_free/evaluation_selector.inst.in deleted file mode 100644 index 1a856fc640..0000000000 --- a/source/matrix_free/evaluation_selector.inst.in +++ /dev/null @@ -1,42 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 - 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - - -for (deal_II_dimension : DIMENSIONS; scalar_type : REAL_SCALARS) - { - template void - SelectEvaluator>:: - integrate(const unsigned int, - const EvaluationFlags::EvaluationFlags, - const internal::MatrixFreeFunctions::ShapeInfo< - VectorizedArray> &shape_info, - VectorizedArray *, - VectorizedArray *, - VectorizedArray *, - VectorizedArray *, - const bool); - - template void - SelectEvaluator>:: - evaluate(const unsigned int, - const EvaluationFlags::EvaluationFlags, - const internal::MatrixFreeFunctions::ShapeInfo< - VectorizedArray> &shape_info, - VectorizedArray *, - VectorizedArray *, - VectorizedArray *, - VectorizedArray *, - VectorizedArray *); - } diff --git a/source/numerics/CMakeLists.txt b/source/numerics/CMakeLists.txt index b0f86d4c1e..513ace04d7 100644 --- a/source/numerics/CMakeLists.txt +++ b/source/numerics/CMakeLists.txt @@ -56,8 +56,6 @@ SET(_separate_src vector_tools_interpolate.cc vector_tools_point_value.cc vector_tools_project.cc - vector_tools_project_inst2.cc - vector_tools_project_inst3.cc vector_tools_project_hp.cc vector_tools_project_codim.cc vector_tools_project_qp.cc diff --git a/source/numerics/vector_tools_project.cc b/source/numerics/vector_tools_project.cc index f254ea50dd..bde5397888 100644 --- a/source/numerics/vector_tools_project.cc +++ b/source/numerics/vector_tools_project.cc @@ -19,10 +19,6 @@ DEAL_II_NAMESPACE_OPEN // ---------------------------- explicit instantiations -------------------- -#define SPLIT_INSTANTIATIONS_COUNT 3 -#ifndef SPLIT_INSTANTIATIONS_INDEX -# define SPLIT_INSTANTIATIONS_INDEX 0 -#endif #include "vector_tools_project.inst" DEAL_II_NAMESPACE_CLOSE diff --git a/source/numerics/vector_tools_project_inst2.cc b/source/numerics/vector_tools_project_inst2.cc deleted file mode 100644 index c312b983f9..0000000000 --- a/source/numerics/vector_tools_project_inst2.cc +++ /dev/null @@ -1,18 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 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 1 -#include "vector_tools_project.cc" diff --git a/source/numerics/vector_tools_project_inst3.cc b/source/numerics/vector_tools_project_inst3.cc deleted file mode 100644 index af34958841..0000000000 --- a/source/numerics/vector_tools_project_inst3.cc +++ /dev/null @@ -1,18 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 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 2 -#include "vector_tools_project.cc" -- 2.39.5