From 2e63b0b0e57b3e865675aac1bc8edbad21b90691 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Sun, 22 Jul 2018 15:16:22 +0200 Subject: [PATCH] Addressed comments. --- doc/news/changes/minor/20180721LucaHeltai | 2 +- include/deal.II/base/function_parser.h | 8 ++++---- tests/base/function_parser_10.cc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5