From 1d7f4178445be83add69a4c0e3a5e243ea6ebf4f Mon Sep 17 00:00:00 2001 From: kronbichler Date: Wed, 19 Dec 2012 11:07:02 +0000 Subject: [PATCH] Use generic instantiation procedure for selecting vectors in solution transfer. git-svn-id: https://svn.dealii.org/trunk@27826 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/numerics/solution_transfer.cc | 2 + .../source/numerics/solution_transfer.inst.in | 38 ++----------------- 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/deal.II/source/numerics/solution_transfer.cc b/deal.II/source/numerics/solution_transfer.cc index b96cab0b4d..a36bb8ab1a 100644 --- a/deal.II/source/numerics/solution_transfer.cc +++ b/deal.II/source/numerics/solution_transfer.cc @@ -20,9 +20,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include diff --git a/deal.II/source/numerics/solution_transfer.inst.in b/deal.II/source/numerics/solution_transfer.inst.in index e50bb475ea..10bd981e4f 100644 --- a/deal.II/source/numerics/solution_transfer.inst.in +++ b/deal.II/source/numerics/solution_transfer.inst.in @@ -11,42 +11,10 @@ // //--------------------------------------------------------------------------- -for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) +for (VEC : SERIAL_VECTORS; deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) { #if deal_II_dimension <= deal_II_space_dimension - - template class SolutionTransfer, DoFHandler >; - template class SolutionTransfer, DoFHandler >; - template class SolutionTransfer, hp::DoFHandler >; - template class SolutionTransfer, hp::DoFHandler >; - - template class SolutionTransfer, DoFHandler >; - template class SolutionTransfer, DoFHandler >; - template class SolutionTransfer, hp::DoFHandler >; - template class SolutionTransfer, hp::DoFHandler >; - - -#ifdef DEAL_II_USE_PETSC - template class SolutionTransfer >; - template class SolutionTransfer >; - - template class SolutionTransfer >; - template class SolutionTransfer >; -#endif - -#ifdef DEAL_II_USE_TRILINOS - template class SolutionTransfer >; - template class SolutionTransfer >; - - template class SolutionTransfer >; - template class SolutionTransfer >; - - template class SolutionTransfer >; - template class SolutionTransfer >; - - template class SolutionTransfer >; - template class SolutionTransfer >; -#endif - + template class SolutionTransfer >; + template class SolutionTransfer >; #endif } -- 2.39.5