Reference documentation for deal.II version 9.3.3
\(\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
34namespace internal
35{
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
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
double mu_if(double condition, double thenvalue, double elsevalue)
double mu_sec(double value)
double mu_floor(double value)
double mu_csc(double value)
double mu_pow(double a, double b)
double mu_log(double value)
double mu_rand_seed(double seed)
double mu_ceil(double value)
double mu_cot(double value)
std::vector< std::string > function_names
double mu_int(double value)
double mu_or(double left, double right)
double mu_and(double left, double right)
double mu_erfc(double value)