From: Luca Heltai Date: Sun, 22 Jul 2018 13:16:22 +0000 (+0200) Subject: Addressed comments. X-Git-Tag: v9.1.0-rc1~891^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e63b0b0e57b3e865675aac1bc8edbad21b90691;p=dealii.git Addressed comments. --- diff --git a/doc/news/changes/minor/20180721LucaHeltai b/doc/news/changes/minor/20180721LucaHeltai index c2a68ce1fb..fc1b6b01cb 100644 --- a/doc/news/changes/minor/20180721LucaHeltai +++ b/doc/news/changes/minor/20180721LucaHeltai @@ -1,4 +1,4 @@ -Added new constructor type for FunctionParser class. +New: Add new constructor type for FunctionParser class.
(Luca Heltai, 2018/07/21) diff --git a/include/deal.II/base/function_parser.h b/include/deal.II/base/function_parser.h index 7cfb2615d3..7ca57c491d 100644 --- a/include/deal.II/base/function_parser.h +++ b/include/deal.II/base/function_parser.h @@ -199,7 +199,7 @@ class FunctionParser : public AutoDerivativeFunction { 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 = "", diff --git a/tests/base/function_parser_10.cc b/tests/base/function_parser_10.cc index 46adb1b54b..bbc51fe5ec 100644 --- a/tests/base/function_parser_10.cc +++ b/tests/base/function_parser_10.cc @@ -14,7 +14,7 @@ // --------------------------------------------------------------------- -// test rand function +// test rand function and expression only constructor #include #include