]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add more instantiations and make error messages more explicit
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Sep 2009 17:46:43 +0000 (17:46 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Sep 2009 17:46:43 +0000 (17:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@19581 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/expand_instantiations.cc
deal.II/common/template-arguments.in

index 26f984dd7782c599f9fcad9b956f36451b39807c..135b35f55200596bc238357ddbb2295414f227e2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2007, 2008 by the deal.II authors
+//    Copyright (C) 2007, 2008, 2009 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -361,14 +361,14 @@ void process_instantiations ()
       skip_space (whole_file);
       if (whole_file.find ("for") != 0)
        {
-         std::cerr << "Invalid instantiation list" << std::endl;
+         std::cerr << "Invalid instantiation list: missing 'for'" << std::endl;
          std::exit (1);
        }
       whole_file.erase (0, 3);
       skip_space (whole_file);
       if (whole_file.find ("(") != 0)
        {
-         std::cerr << "Invalid instantiation list" << std::endl;
+         std::cerr << "Invalid instantiation list: missing '('" << std::endl;
          std::exit (1);
        }
       whole_file.erase (0, 1);
@@ -381,7 +381,7 @@ void process_instantiations ()
                                           ';');
       if (whole_file.find (")") != 0)
        {
-         std::cerr << "Invalid instantiation list" << std::endl;
+         std::cerr << "Invalid instantiation list: missing ')'" << std::endl;
          std::exit (1);
        }
       whole_file.erase (0, 1);
index e412dd9665b06dd72f840d5ffa676b4bccbe6619..4be3646faee0f28235e0e7c47b58fde2aeffcd31 100644 (file)
@@ -3,6 +3,10 @@ COMPLEX_SCALARS := { std::complex<double>;
                      std::complex<float>;
                      std::complex<long double> }
 
+DERIVATIVE_TENSORS := { double;
+                       Tensor<1,deal_II_dimension>;
+                       Tensor<2,deal_II_dimension> }
+
 DEAL_II_VEC_TEMPLATES := { Vector; BlockVector }
 
 SERIAL_VECTORS := { Vector<double>;
@@ -31,6 +35,9 @@ TRIANGULATION_AND_DOFHANDLERS := { Triangulation<deal_II_dimension>;
                                    hp::DoFHandler<deal_II_dimension>;
                                   MGDoFHandler<deal_II_dimension> }
 
+FEVALUES_BASES := { FEValuesBase<deal_II_dimension>;
+                   FEFaceValuesBase<deal_II_dimension> }
+
 SPARSITY_PATTERNS := { SparsityPattern;
                        CompressedSparsityPattern;
                        CompressedSetSparsityPattern;

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.