From 8cabc1ea82d4f68955bdb7367bb3a15bba6ab356 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 6 Jun 2017 16:08:06 +0200 Subject: [PATCH] document function parser functions --- include/deal.II/base/function_parser.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/deal.II/base/function_parser.h b/include/deal.II/base/function_parser.h index 0a29c3c7b5..9e2e057078 100644 --- a/include/deal.II/base/function_parser.h +++ b/include/deal.II/base/function_parser.h @@ -47,6 +47,20 @@ template class Vector; * used in the step-33 and step-36 tutorial programs (the latter being much * simpler to understand). * + * In addition to the built-in functions of muparser, namely + * @code + * sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, + * atan2, log2, log10, log, ln, exp, sqrt, sign, rint, abs, min, max, sum, avg + * @endcode + * this class also supports: + * - if(condition, then-value, else-value) + * - | and & (logic or and and) + * - int(x), ceil(x), floor(x) (rounding) + * - cot(x), csc(x), sec(x) + * - pow(x,n), log(x) + * - erfc(x) + * - rand(), rand_seed(seed) + * * The following examples shows how to use this class: * @code * // set up problem: -- 2.39.5