From: David Wells Date: Sat, 21 May 2022 18:27:01 +0000 (-0400) Subject: Move up some declarations. X-Git-Tag: v9.4.0-rc1~132^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cd7ab774393cd9d5e3531cfbffadae33dcb17c;p=dealii.git Move up some declarations. --- diff --git a/include/deal.II/base/mu_parser_internal.h b/include/deal.II/base/mu_parser_internal.h index a8bdd42b78..a4164ed2ac 100644 --- a/include/deal.II/base/mu_parser_internal.h +++ b/include/deal.II/base/mu_parser_internal.h @@ -38,6 +38,62 @@ namespace internal { namespace FunctionParser { + int + mu_round(double val); + + double + mu_if(double condition, double thenvalue, double elsevalue); + + double + mu_or(double left, double right); + + double + mu_and(double left, double right); + + double + mu_int(double value); + + double + mu_ceil(double value); + + double + mu_floor(double value); + + double + mu_cot(double value); + + double + mu_csc(double value); + + double + mu_sec(double value); + + double + mu_log(double value); + + double + mu_pow(double a, double b); + + double + mu_erf(double value); + + double + mu_erfc(double value); + + // returns a random value in the range [0,1] initializing the generator + // with the given seed + double + mu_rand_seed(double seed); + + // returns a random value in the range [0,1] + double + mu_rand(); + + /** + * Get the array of all function names. + */ + std::vector + get_function_names(); /** * deal.II uses muParser as a purely internal dependency. To this end, we do * not include any muParser headers in our own headers (and the bundled @@ -138,62 +194,6 @@ namespace internal unsigned int n_vars; }; - int - mu_round(double val); - - double - mu_if(double condition, double thenvalue, double elsevalue); - - double - mu_or(double left, double right); - - double - mu_and(double left, double right); - - double - mu_int(double value); - - double - mu_ceil(double value); - - double - mu_floor(double value); - - double - mu_cot(double value); - - double - mu_csc(double value); - - double - mu_sec(double value); - - double - mu_log(double value); - - double - mu_pow(double a, double b); - - double - mu_erf(double value); - - double - mu_erfc(double value); - - // returns a random value in the range [0,1] initializing the generator - // with the given seed - double - mu_rand_seed(double seed); - - // returns a random value in the range [0,1] - double - mu_rand(); - - /** - * Get the array of all function names. - */ - std::vector - get_function_names(); } // namespace FunctionParser