From: wolf Date: Thu, 30 Jun 2005 15:18:20 +0000 (+0000) Subject: Reapply the change 1.1->1.2. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=648d0e0ff990407a99172854b0fc3fa76ea3883d;p=dealii-svn.git Reapply the change 1.1->1.2. git-svn-id: https://svn.dealii.org/trunk@10991 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/functionparser/fparser.h b/deal.II/contrib/functionparser/fparser.h index 9506bfaa59..9bc5501139 100644 --- a/deal.II/contrib/functionparser/fparser.h +++ b/deal.II/contrib/functionparser/fparser.h @@ -16,6 +16,9 @@ #include #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