From: bangerth Date: Thu, 23 Oct 2008 20:10:09 +0000 (+0000) Subject: Generate template instantiations for all currently available vectors. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b255ad2327c9ef16dc6f7cbf587fd4ecd3bfe206;p=dealii-svn.git Generate template instantiations for all currently available vectors. git-svn-id: https://svn.dealii.org/trunk@17330 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/fe_field_function.cc b/deal.II/deal.II/source/numerics/fe_field_function.cc index d068d0b502..c4a62882c4 100644 --- a/deal.II/deal.II/source/numerics/fe_field_function.cc +++ b/deal.II/deal.II/source/numerics/fe_field_function.cc @@ -2,7 +2,7 @@ // $Id: function_parser.h 14594 2007-03-22 20:17:41Z bangerth $ // Version: $Name$ // -// Copyright (C) 2007 by the deal.II authors +// Copyright (C) 2007, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -22,48 +22,14 @@ #include #include #include +#include +#include DEAL_II_NAMESPACE_OPEN namespace Functions { - - template class FEFieldFunction, - Vector >; - - template class FEFieldFunction, - BlockVector >; - - template class FEFieldFunction, - Vector >; - - template class FEFieldFunction, - BlockVector >; - -#ifdef DEAL_II_USE_PETSC - - template class FEFieldFunction, - PETScWrappers::Vector >; - - template class FEFieldFunction, - PETScWrappers::BlockVector >; - - template class FEFieldFunction, - PETScWrappers::Vector >; - - template class FEFieldFunction, - PETScWrappers::BlockVector >; - -#endif - +# include "fe_field_function.inst" } DEAL_II_NAMESPACE_CLOSE diff --git a/deal.II/deal.II/source/numerics/fe_field_function.inst.in b/deal.II/deal.II/source/numerics/fe_field_function.inst.in new file mode 100644 index 0000000000..655913195a --- /dev/null +++ b/deal.II/deal.II/source/numerics/fe_field_function.inst.in @@ -0,0 +1,24 @@ +//--------------------------------------------------------------------------- +// $Id: function_parser.h 14594 2007-03-22 20:17:41Z bangerth $ +// Version: $Name$ +// +// Copyright (C) 2007, 2008 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//--------------------------------------------------------------------------- + + +for (VECTOR : SERIAL_VECTORS) +{ + template class FEFieldFunction, + VECTOR>; + + template class FEFieldFunction, + VECTOR>; +}