]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Compile grid_tools.cc in a single file
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 3 Oct 2020 19:13:18 +0000 (21:13 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 3 Oct 2020 19:13:59 +0000 (21:13 +0200)
source/grid/CMakeLists.txt
source/grid/grid_tools.cc
source/grid/grid_tools_2.cc [deleted file]

index 062c6d14bc12232e908aba4ff6ace3fdc766e302..d50cbdec9b389d2088f0e38118447e952002c570 100644 (file)
@@ -36,7 +36,6 @@ SET(_separate_src
   grid_out.cc
   grid_generator.cc
   grid_tools.cc
-  grid_tools_2.cc
   grid_tools_cache.cc
   grid_tools_nontemplates.cc
   grid_tools_dof_handlers.cc
index 2499c4f2721bf0ead3f80a151e37bde3f6c0d3cb..f0088f47556a38526af1e88443fd751101a97eb0 100644 (file)
@@ -5712,10 +5712,6 @@ namespace GridTools
 
 
 // explicit instantiations
-#define SPLIT_INSTANTIATIONS_COUNT 2
-#ifndef SPLIT_INSTANTIATIONS_INDEX
-#  define SPLIT_INSTANTIATIONS_INDEX 0
-#endif
 #include "grid_tools.inst"
 
 DEAL_II_NAMESPACE_CLOSE
diff --git a/source/grid/grid_tools_2.cc b/source/grid/grid_tools_2.cc
deleted file mode 100644 (file)
index 4fb2834..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// ---------------------------------------------------------------------
-//
-// Copyright (C) 2020 - 2020 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 "grid_tools.cc"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.