Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
mu_parser_internal.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2005 - 2019 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_mu_parser_internal_h
17 #define dealii_mu_parser_internal_h
18 
19 // This file contains functions used internally by the FunctionParser
20 // and the TensorFunctionParser class.
21 
22 #include <deal.II/base/config.h>
23 
24 #include <string>
25 #include <vector>
26 
27 
29 
30 
31 
32 #ifdef DEAL_II_WITH_MUPARSER
33 
34 namespace internal
35 {
36  namespace FunctionParser
37  {
38  int
39  mu_round(double val);
40 
41  double
42  mu_if(double condition, double thenvalue, double elsevalue);
43 
44  double
45  mu_or(double left, double right);
46 
47  double
48  mu_and(double left, double right);
49 
50  double
51  mu_int(double value);
52 
53  double
54  mu_ceil(double value);
55 
56  double
57  mu_floor(double value);
58 
59  double
60  mu_cot(double value);
61 
62  double
63  mu_csc(double value);
64 
65  double
66  mu_sec(double value);
67 
68  double
69  mu_log(double value);
70 
71  double
72  mu_pow(double a, double b);
73 
74  double
75  mu_erfc(double value);
76 
77  // returns a random value in the range [0,1] initializing the generator
78  // with the given seed
79  double
80  mu_rand_seed(double seed);
81 
82  // returns a random value in the range [0,1]
83  double
84  mu_rand();
85 
86  extern std::vector<std::string> function_names;
87 
88  } // namespace FunctionParser
89 
90 } // namespace internal
91 #endif
92 
93 
94 
96 
97 #endif
internal::FunctionParser::mu_pow
double mu_pow(double a, double b)
Definition: mu_parser_internal.cc:107
internal::FunctionParser::mu_rand_seed
double mu_rand_seed(double seed)
Definition: mu_parser_internal.cc:121
internal::FunctionParser::mu_cot
double mu_cot(double value)
Definition: mu_parser_internal.cc:83
internal::FunctionParser::mu_rand
double mu_rand()
Definition: mu_parser_internal.cc:140
internal::FunctionParser::mu_log
double mu_log(double value)
Definition: mu_parser_internal.cc:101
internal::FunctionParser::mu_csc
double mu_csc(double value)
Definition: mu_parser_internal.cc:89
internal::FunctionParser::mu_erfc
double mu_erfc(double value)
Definition: mu_parser_internal.cc:113
internal::FunctionParser::mu_and
double mu_and(double left, double right)
Definition: mu_parser_internal.cc:59
internal::FunctionParser::mu_or
double mu_or(double left, double right)
Definition: mu_parser_internal.cc:53
internal::FunctionParser::mu_floor
double mu_floor(double value)
Definition: mu_parser_internal.cc:77
internal::FunctionParser::mu_round
int mu_round(double val)
Definition: mu_parser_internal.cc:38
internal::FunctionParser::mu_if
double mu_if(double condition, double thenvalue, double elsevalue)
Definition: mu_parser_internal.cc:44
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
Physics::Elasticity::Kinematics::b
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
value
static const bool value
Definition: dof_tools_constraints.cc:433
internal::FunctionParser::mu_ceil
double mu_ceil(double value)
Definition: mu_parser_internal.cc:71
internal::FunctionParser::mu_int
double mu_int(double value)
Definition: mu_parser_internal.cc:65
internal::FunctionParser::mu_sec
double mu_sec(double value)
Definition: mu_parser_internal.cc:95
config.h
internal
Definition: aligned_vector.h:369
internal::FunctionParser::function_names
std::vector< std::string > function_names
Definition: mu_parser_internal.cc:150
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
FunctionParser
Definition: function_parser.h:224