FEDEM Solver  R8.0
Source code of the dynamics solver
FFaMathOps.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
13 #ifndef FFA_MATH_OPS_H
14 #define FFA_MATH_OPS_H
15 
16 
17 namespace FFaMathOps
18 {
19  extern const double ErrVal;
20 
21  void Addition(double*& p);
22  void Subtraction(double*& p);
23  void Multiplication(double*& p);
24  void Division(double*& p);
25  void Modulus(double*& p);
26  void Max(double*& p);
27  void Min(double*& p);
28  void Puissance(double*& p);
29  void RacineN(double*& p);
30  void Puiss10(double*& p);
31  void ArcTangente2(double*& p);
32  void NextVal(double*& p);
33  void RFunc(double*& p);
34  void Absolu(double*& p);
35  void Oppose(double*& p);
36  void ArcSinus(double*& p);
37  void ArcCosinus(double*& p);
38  void ArcTangente(double*& p);
39  void Logarithme(double*& p);
40  void NaturalLogarithme(double*& p);
41  void Exponentielle(double*& p);
42  void Sinus(double*& p);
43  void Tangente(double*& p);
44  void Cosinus(double*& p);
45  void Racine(double*& p);
46  void LessThan(double*& p);
47  void GreaterThan(double*& p);
48  void BooleanAnd(double*& p);
49  void BooleanOr(double*& p);
50  void BooleanEqual(double*& p);
51  void BooleanNotEqual(double*& p);
52  void BooleanLessOrEqual(double*& p);
53  void BooleanGreaterOrEqual(double*& p);
54  void BooleanNot(double*& p);
55 }
56 
57 #endif
Mathematical operation implementations.
Definition: FFaMathOps.H:18
void BooleanLessOrEqual(double *&p)
Boolean calculation of the expression x <= y.
Definition: FFaMathOps.C:546
void BooleanAnd(double *&p)
Boolean calculation of the expression x && y.
Definition: FFaMathOps.C:486
void BooleanGreaterOrEqual(double *&p)
Boolean calculation of the expression x >= y.
Definition: FFaMathOps.C:561
void Modulus(double *&p)
Calculate the modulus of two parametre.
Definition: FFaMathOps.C:144
void ArcSinus(double *&p)
Calculates the asin of a parametre.
Definition: FFaMathOps.C:315
void BooleanNotEqual(double *&p)
Boolean calculation of the expression x != y.
Definition: FFaMathOps.C:531
void Logarithme(double *&p)
Calculates the logarithme of a parametre (log x).
Definition: FFaMathOps.C:357
void LessThan(double *&p)
Boolean calculation of the expression x < y.
Definition: FFaMathOps.C:456
void ArcTangente(double *&p)
Calculates the atan of a parametre.
Definition: FFaMathOps.C:343
void ArcTangente2(double *&p)
Calculate the atan of two parametre.
Definition: FFaMathOps.C:268
void Division(double *&p)
Calculate the division of two parametre.
Definition: FFaMathOps.C:123
void RFunc(double *&p)
Dummy function only producing an error message.
Definition: FFaMathOps.C:62
void Addition(double *&p)
Calculate the addition of two parametre.
Definition: FFaMathOps.C:76
void NextVal(double *&p)
Dummy function only producing an error message.
Definition: FFaMathOps.C:52
void BooleanEqual(double *&p)
Boolean calculation of the expression x == y.
Definition: FFaMathOps.C:516
void Cosinus(double *&p)
Calculates the cosinus of a parametre .
Definition: FFaMathOps.C:427
void ArcCosinus(double *&p)
Calculates the acos of a parametre.
Definition: FFaMathOps.C:329
void BooleanNot(double *&p)
Boolean calculation of the expression !x.
Definition: FFaMathOps.C:576
void Multiplication(double *&p)
Calculate the multiplication of two parametre.
Definition: FFaMathOps.C:104
void BooleanOr(double *&p)
Boolean calculation of the expression x || y.
Definition: FFaMathOps.C:501
void GreaterThan(double *&p)
Boolean calculation of the expression x > y.
Definition: FFaMathOps.C:471
void Sinus(double *&p)
Calculates the sinius of a parametre.
Definition: FFaMathOps.C:399
void Subtraction(double *&p)
Calculate the subtraction of two parametre.
Definition: FFaMathOps.C:90
void Absolu(double *&p)
Calculates the absolute value of a parametre.
Definition: FFaMathOps.C:287
void RacineN(double *&p)
Calculate the n'th root of two parametre ( (x)^(1/y) ).
Definition: FFaMathOps.C:223
void Oppose(double *&p)
Changes the sign of a parametre.
Definition: FFaMathOps.C:301
const double ErrVal
Special value to interpreted as an error condition.
Definition: FFaMathOps.C:19
void Max(double *&p)
Calculate the maximum of two parametre.
Definition: FFaMathOps.C:165
void Min(double *&p)
Calculate the minimum of two parametre.
Definition: FFaMathOps.C:182
void Exponentielle(double *&p)
Calculates the exp of a parametre (exp x).
Definition: FFaMathOps.C:385
void Tangente(double *&p)
Calculates the tangent of a parametre.
Definition: FFaMathOps.C:413
void Puissance(double *&p)
Calculate the power two parametre (x^y).
Definition: FFaMathOps.C:199
void Racine(double *&p)
Calculates the square root of a parametre (sqrt x).
Definition: FFaMathOps.C:441
void NaturalLogarithme(double *&p)
Calculates the natural logarithme of a parametre (ln x).
Definition: FFaMathOps.C:371
void Puiss10(double *&p)
Calculate the E10 of two parametre ( xEy ).
Definition: FFaMathOps.C:247