]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix some issues with undefined references
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Nov 2012 09:32:39 +0000 (09:32 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Nov 2012 09:32:39 +0000 (09:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@27571 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/function_parser.cc

index 694936ad40970ad02a22cba86319c3dbad4801ed..171ea15fbdb04167b177f4280389ca3ae253c8ce 100644 (file)
@@ -264,12 +264,24 @@ void FunctionParser<dim>::vector_value (const Point<dim> &p,
 
 #else
 
+template <int dim>
+void
+FunctionParser<dim>::initialize(const std::string &,
+                                const std::vector<std::string> &,
+                                const std::map<std::string, double> &,
+                                const bool,
+                                const bool)
+{
+  Assert(false, ExcDisabled("parser"));
+}
+
 
 template <int dim>
 void
 FunctionParser<dim>::initialize(const std::string &,
                                 const std::vector<std::string> &,
                                 const std::map<std::string, double> &,
+                                const std::map<std::string, double> &,
                                 const bool,
                                 const bool)
 {
@@ -289,6 +301,19 @@ FunctionParser<dim>::initialize(const std::string &,
 }
 
 
+template <int dim>
+void
+FunctionParser<dim>::initialize(const std::string &,
+                                const std::string &,
+                                const std::map<std::string, double> &,
+                                const std::map<std::string, double> &,
+                                const bool,
+                                const bool)
+{
+  Assert(false, ExcDisabled("parser"));
+}
+
+
 template <int dim>
 double FunctionParser<dim>::value (
   const Point<dim> &, unsigned int) const

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.