]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reapply the change 1.1->1.2.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 15:18:20 +0000 (15:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 15:18:20 +0000 (15:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@10991 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/functionparser/fparser.h

index 9506bfaa59e0afb5843d09acdb8be3f0a964aeba..9bc5501139e9196c202e5f4af1f26a75649b54ed 100644 (file)
@@ -16,6 +16,9 @@
 #include <iostream>
 #endif
 
+namespace fparser
+{
+  
 class FunctionParser
 {
 public:
@@ -62,6 +65,11 @@ public:
 #endif
 
 
+    // Added by Luca Heltai. For consistency checking.
+    unsigned int NVars() {
+      return data->varAmount;
+    };
+    
 
 //========================================================================
 private:
@@ -151,5 +159,8 @@ private:
 
     void MakeTree(void*) const;
 };
+}
 
+  
 #endif

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.