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 
8 #ifndef FFA_MATH_OPS_H
9 #define FFA_MATH_OPS_H
10 
11 
13 {
14 public:
15  static const double ErrVal;
16  static void FonctionError(double*& p) { *p = ErrVal; }
17 
18  static void Addition(double*& p);
19  static void Subtraction(double*& p);
20  static void Multiplication(double*& p);
21  static void Division(double*& p);
22  static void Modulus(double*& p);
23  static void Max(double*& p);
24  static void Min(double*& p);
25  static void Puissance(double*& p);
26  static void RacineN(double*& p);
27  static void Puiss10(double*& p);
28  static void ArcTangente2(double*& p);
29  static void NextVal(double*&);
30  static void RFunc(double*&);
31  static void JuxtF(double*&) {}
32  static void Absolu(double*& p);
33  static void Oppose(double*& p);
34  static void ArcSinus(double*& p);
35  static void ArcCosinus(double*& p);
36  static void ArcTangente(double*& p);
37  static void Logarithme(double*& p);
38  static void NaturalLogarithme(double*& p);
39  static void Exponentielle(double*& p);
40  static void Sinus(double*& p);
41  static void Tangente(double*& p);
42  static void Cosinus(double*& p);
43  static void Racine(double*& p);
44  static void LessThan(double*& p);
45  static void GreaterThan(double*& p);
46  static void BooleanAnd(double*& p);
47  static void BooleanOr(double*& p);
48  static void BooleanEqual(double*& p);
49  static void BooleanNotEqual(double*& p);
50  static void BooleanLessOrEqual(double*& p);
51  static void BooleanGreaterOrEqual(double*& p);
52  static void BooleanNot(double*& p);
53 };
54 
55 #endif
Definition: FFaMathOps.H:13
static void BooleanLessOrEqual(double *&p)
Boolean calculation of the expression x <= y.
Definition: FFaMathOps.C:515
static void BooleanAnd(double *&p)
Boolean calculation of the expression x && y.
Definition: FFaMathOps.C:455
static void BooleanGreaterOrEqual(double *&p)
Boolean calculation of the expression x >= y.
Definition: FFaMathOps.C:530
static void Modulus(double *&p)
Calculate the modulus of two parametre.
Definition: FFaMathOps.C:121
static void ArcSinus(double *&p)
Calculates the asin of a parametre.
Definition: FFaMathOps.C:285
static void BooleanNotEqual(double *&p)
Boolean calculation of the expression x != y.
Definition: FFaMathOps.C:500
static void Logarithme(double *&p)
Calculates the logarithme of a parametre (log x).
Definition: FFaMathOps.C:326
static void LessThan(double *&p)
Boolean calculation of the expression x < y.
Definition: FFaMathOps.C:425
static void ArcTangente(double *&p)
Calculates the atan of a parametre.
Definition: FFaMathOps.C:313
static void ArcTangente2(double *&p)
Calculate the atan of two parametre.
Definition: FFaMathOps.C:241
static void Division(double *&p)
Calculate the division of two parametre.
Definition: FFaMathOps.C:101
static void Addition(double *&p)
Calculate the addition of two parametre.
Definition: FFaMathOps.C:55
static void NextVal(double *&)
Definition: FFaMathOps.C:37
static void BooleanEqual(double *&p)
Boolean calculation of the expression x == y.
Definition: FFaMathOps.C:485
static void Cosinus(double *&p)
Calculates the cosinus of a parametre .
Definition: FFaMathOps.C:396
static void ArcCosinus(double *&p)
Calculates the acos of a parametre.
Definition: FFaMathOps.C:299
static void BooleanNot(double *&p)
Boolean calculation of the expression !x.
Definition: FFaMathOps.C:545
static void Multiplication(double *&p)
Calculate the multiplication of two parametre.
Definition: FFaMathOps.C:83
static void BooleanOr(double *&p)
Boolean calculation of the expression x || y.
Definition: FFaMathOps.C:470
static void FonctionError(double *&p)
Definition: FFaMathOps.H:16
static void JuxtF(double *&)
Definition: FFaMathOps.H:31
static void GreaterThan(double *&p)
Boolean calculation of the expression x > y.
Definition: FFaMathOps.C:440
static void Sinus(double *&p)
Calculates the sinius of a parametre.
Definition: FFaMathOps.C:368
static void Subtraction(double *&p)
Calculate the subtraction of two parametre.
Definition: FFaMathOps.C:69
static void Absolu(double *&p)
Calculates the absolute value of a parametre.
Definition: FFaMathOps.C:259
static void RacineN(double *&p)
Calculate the n'th root of two parametre ( (x)^(1/y) ).
Definition: FFaMathOps.C:197
static void Oppose(double *&p)
Changes the sign of a parametre.
Definition: FFaMathOps.C:272
static const double ErrVal
Definition: FFaMathOps.H:15
static void Max(double *&p)
Calculate the maximum of two parametre.
Definition: FFaMathOps.C:141
static void Min(double *&p)
Calculate the minimum of two parametre.
Definition: FFaMathOps.C:157
static void Exponentielle(double *&p)
Calculates the exp of a parametre (exp x).
Definition: FFaMathOps.C:354
static void Tangente(double *&p)
Calculates the tangent of a parametre.
Definition: FFaMathOps.C:382
static void Puissance(double *&p)
Calculate the power two parametre (x^y).
Definition: FFaMathOps.C:173
static void RFunc(double *&)
Definition: FFaMathOps.C:42
static void Racine(double *&p)
Calculates the square root of a parametre (sqrt x).
Definition: FFaMathOps.C:410
static void NaturalLogarithme(double *&p)
Calculates the natural logarithme of a parametre (ln x).
Definition: FFaMathOps.C:340
static void Puiss10(double *&p)
Calculate the E10 of two parametre ( xEy ).
Definition: FFaMathOps.C:221