]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make FunctionParser::expressions available without muparser support 7227/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 25 Sep 2018 06:38:43 +0000 (08:38 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 25 Sep 2018 06:38:43 +0000 (08:38 +0200)
include/deal.II/base/function_parser.h

index b1d4c1c574a9d6cc47116ae872fcda58b2e0110b..fc03c246d24986be9716de0da944c0985109d37d 100644 (file)
@@ -402,12 +402,6 @@ private:
    */
   std::vector<std::string> var_names;
 
-  /**
-   * An array of function expressions (one per component), required to
-   * initialize fp in each thread.
-   */
-  std::vector<std::string> expressions;
-
   /**
    * Initialize fp and vars on the current thread. This function may only be
    * called once per thread. A thread can test whether the function has
@@ -418,6 +412,12 @@ private:
   init_muparser() const;
 #endif
 
+  /**
+   * An array of function expressions (one per component), required to
+   * initialize fp in each thread.
+   */
+  std::vector<std::string> expressions;
+
   /**
    * State of usability. This variable is checked every time the function is
    * called for evaluation. It's set to true in the initialize() methods.

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.