]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Addressed comments. 6944/head
authorLuca Heltai <luca.heltai@sissa.it>
Sun, 22 Jul 2018 13:16:22 +0000 (15:16 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Sun, 22 Jul 2018 13:16:22 +0000 (15:16 +0200)
doc/news/changes/minor/20180721LucaHeltai
include/deal.II/base/function_parser.h
tests/base/function_parser_10.cc

index c2a68ce1fbeda7bfe1e283195de9a35bc8bff579..fc1b6b01cb2aaa21b2cb195ea3210fa4e1a4df2f 100644 (file)
@@ -1,4 +1,4 @@
-Added new constructor type for FunctionParser class. 
+New: Add new constructor type for FunctionParser class. 
 <br>
 (Luca Heltai, 2018/07/21)
 
index 7cfb2615d3327419c416ec005679abdf5fd599cc..7ca57c491d52aa7b71a6657040af1bd7aad7c303 100644 (file)
@@ -199,7 +199,7 @@ class FunctionParser : public AutoDerivativeFunction<dim>
 {
 public:
   /**
-   * Constructor for Parsed functions. Its arguments are the same of
+   * Constructor for parsed functions. Its arguments are the same of
    * the base class Function, with the additional parameter @p h, used
    * for the computation of gradients using finite differences. This
    * object needs to be initialized with the initialize() method
@@ -212,10 +212,10 @@ public:
                  const double       h            = 1e-8);
 
   /**
-   * Constructor for Parsed functions. Take directly a semi-colon separated
+   * Constructor for parsed functions. Takes directly a semi-colon separated
    * list of expressions (one for each component of the function), an optional
-   * comma-separated list of constants, variable names and step for the
-   * computation of first order derviatives by finite difference.
+   * comma-separated list of constants, variable names and step size for the
+   * computation of first order derivatives by finite difference.
    */
   FunctionParser(const std::string &expression,
                  const std::string &constants      = "",
index 46adb1b54bd1c2150779787517928f1c4e71bcc9..bbc51fe5ec8fbd12cd4874ac7f0cf57fdd87f2e5 100644 (file)
@@ -14,7 +14,7 @@
 // ---------------------------------------------------------------------
 
 
-// test rand function
+// test rand function and expression only constructor
 
 #include <deal.II/base/function_parser.h>
 #include <deal.II/base/point.h>

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.