From 80dcc020878584cec34618ee2721b6ce63b665fc Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Thu, 10 Sep 2015 17:51:28 -0500 Subject: [PATCH] Fix a bug where SolutionTransfer is not instantiated for BlockVector when using hp::DoFHandler. --- source/numerics/CMakeLists.txt | 1 + source/numerics/solution_transfer_inst4.cc | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 source/numerics/solution_transfer_inst4.cc diff --git a/source/numerics/CMakeLists.txt b/source/numerics/CMakeLists.txt index 351c6c7c27..086368040c 100644 --- a/source/numerics/CMakeLists.txt +++ b/source/numerics/CMakeLists.txt @@ -34,6 +34,7 @@ SET(_src solution_transfer.cc solution_transfer_inst2.cc solution_transfer_inst3.cc + solution_transfer_inst4.cc time_dependent.cc vector_tools_boundary.cc vector_tools_constraints.cc diff --git a/source/numerics/solution_transfer_inst4.cc b/source/numerics/solution_transfer_inst4.cc new file mode 100644 index 0000000000..c23b70e31e --- /dev/null +++ b/source/numerics/solution_transfer_inst4.cc @@ -0,0 +1,20 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2013 - 2014 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. +// +// --------------------------------------------------------------------- + +// This file compiles the last quarter of the instantiations from solution_transfer.cc +// to reduce the compilation unit (and memory consumption) + +#define SPLIT_INSTANTIATIONS_INDEX 3 +#include "solution_transfer.cc" -- 2.39.5