FEDEM Solver  R8.0
Source code of the dynamics solver
Functions | Variables
FFaMathOps Namespace Reference

Mathematical operation implementations. More...

Functions

void Addition (double *&p)
 Calculate the addition of two parametre. More...
 
void Subtraction (double *&p)
 Calculate the subtraction of two parametre. More...
 
void Multiplication (double *&p)
 Calculate the multiplication of two parametre. More...
 
void Division (double *&p)
 Calculate the division of two parametre. More...
 
void Modulus (double *&p)
 Calculate the modulus of two parametre. More...
 
void Max (double *&p)
 Calculate the maximum of two parametre. More...
 
void Min (double *&p)
 Calculate the minimum of two parametre. More...
 
void Puissance (double *&p)
 Calculate the power two parametre (x^y). More...
 
void RacineN (double *&p)
 Calculate the n'th root of two parametre ( (x)^(1/y) ). More...
 
void Puiss10 (double *&p)
 Calculate the E10 of two parametre ( xEy ). More...
 
void ArcTangente2 (double *&p)
 Calculate the atan of two parametre. More...
 
void NextVal (double *&p)
 Dummy function only producing an error message. More...
 
void RFunc (double *&p)
 Dummy function only producing an error message. More...
 
void Absolu (double *&p)
 Calculates the absolute value of a parametre. More...
 
void Oppose (double *&p)
 Changes the sign of a parametre. More...
 
void ArcSinus (double *&p)
 Calculates the asin of a parametre. More...
 
void ArcCosinus (double *&p)
 Calculates the acos of a parametre. More...
 
void ArcTangente (double *&p)
 Calculates the atan of a parametre. More...
 
void Logarithme (double *&p)
 Calculates the logarithme of a parametre (log x). More...
 
void NaturalLogarithme (double *&p)
 Calculates the natural logarithme of a parametre (ln x). More...
 
void Exponentielle (double *&p)
 Calculates the exp of a parametre (exp x). More...
 
void Sinus (double *&p)
 Calculates the sinius of a parametre. More...
 
void Tangente (double *&p)
 Calculates the tangent of a parametre. More...
 
void Cosinus (double *&p)
 Calculates the cosinus of a parametre . More...
 
void Racine (double *&p)
 Calculates the square root of a parametre (sqrt x). More...
 
void LessThan (double *&p)
 Boolean calculation of the expression x < y. More...
 
void GreaterThan (double *&p)
 Boolean calculation of the expression x > y. More...
 
void BooleanAnd (double *&p)
 Boolean calculation of the expression x && y. More...
 
void BooleanOr (double *&p)
 Boolean calculation of the expression x || y. More...
 
void BooleanEqual (double *&p)
 Boolean calculation of the expression x == y. More...
 
void BooleanNotEqual (double *&p)
 Boolean calculation of the expression x != y. More...
 
void BooleanLessOrEqual (double *&p)
 Boolean calculation of the expression x <= y. More...
 
void BooleanGreaterOrEqual (double *&p)
 Boolean calculation of the expression x >= y. More...
 
void BooleanNot (double *&p)
 Boolean calculation of the expression !x. More...
 

Variables

const double ErrVal = tan(atan(1.0)*2.0)
 Special value to interpreted as an error condition. More...
 

Detailed Description

Mathematical operation implementations.

Function Documentation

◆ Absolu()

void FFaMathOps::Absolu ( double *&  p)

Calculates the absolute value of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Addition()

void FFaMathOps::Addition ( double *&  p)

Calculate the addition of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ ArcCosinus()

void FFaMathOps::ArcCosinus ( double *&  p)

Calculates the acos of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ ArcSinus()

void FFaMathOps::ArcSinus ( double *&  p)

Calculates the asin of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ ArcTangente()

void FFaMathOps::ArcTangente ( double *&  p)

Calculates the atan of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ ArcTangente2()

void FFaMathOps::ArcTangente2 ( double *&  p)

Calculate the atan of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ BooleanAnd()

void FFaMathOps::BooleanAnd ( double *&  p)

Boolean calculation of the expression x && y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanEqual()

void FFaMathOps::BooleanEqual ( double *&  p)

Boolean calculation of the expression x == y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanGreaterOrEqual()

void FFaMathOps::BooleanGreaterOrEqual ( double *&  p)

Boolean calculation of the expression x >= y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanLessOrEqual()

void FFaMathOps::BooleanLessOrEqual ( double *&  p)

Boolean calculation of the expression x <= y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanNot()

void FFaMathOps::BooleanNot ( double *&  p)

Boolean calculation of the expression !x.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanNotEqual()

void FFaMathOps::BooleanNotEqual ( double *&  p)

Boolean calculation of the expression x != y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ BooleanOr()

void FFaMathOps::BooleanOr ( double *&  p)

Boolean calculation of the expression x || y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ Cosinus()

void FFaMathOps::Cosinus ( double *&  p)

Calculates the cosinus of a parametre .

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Division()

void FFaMathOps::Division ( double *&  p)

Calculate the division of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Exponentielle()

void FFaMathOps::Exponentielle ( double *&  p)

Calculates the exp of a parametre (exp x).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ GreaterThan()

void FFaMathOps::GreaterThan ( double *&  p)

Boolean calculation of the expression x > y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ LessThan()

void FFaMathOps::LessThan ( double *&  p)

Boolean calculation of the expression x < y.

Parameters
pA pointer to a table of parametre

The result, 1 if true and 0 if false, is placed in the head of the pointer p.

◆ Logarithme()

void FFaMathOps::Logarithme ( double *&  p)

Calculates the logarithme of a parametre (log x).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Max()

void FFaMathOps::Max ( double *&  p)

Calculate the maximum of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Min()

void FFaMathOps::Min ( double *&  p)

Calculate the minimum of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Modulus()

void FFaMathOps::Modulus ( double *&  p)

Calculate the modulus of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Multiplication()

void FFaMathOps::Multiplication ( double *&  p)

Calculate the multiplication of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ NaturalLogarithme()

void FFaMathOps::NaturalLogarithme ( double *&  p)

Calculates the natural logarithme of a parametre (ln x).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ NextVal()

void FFaMathOps::NextVal ( double *&  p)

Dummy function only producing an error message.

◆ Oppose()

void FFaMathOps::Oppose ( double *&  p)

Changes the sign of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Puiss10()

void FFaMathOps::Puiss10 ( double *&  p)

Calculate the E10 of two parametre ( xEy ).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Puissance()

void FFaMathOps::Puissance ( double *&  p)

Calculate the power two parametre (x^y).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Racine()

void FFaMathOps::Racine ( double *&  p)

Calculates the square root of a parametre (sqrt x).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ RacineN()

void FFaMathOps::RacineN ( double *&  p)

Calculate the n'th root of two parametre ( (x)^(1/y) ).

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ RFunc()

void FFaMathOps::RFunc ( double *&  p)

Dummy function only producing an error message.

◆ Sinus()

void FFaMathOps::Sinus ( double *&  p)

Calculates the sinius of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Subtraction()

void FFaMathOps::Subtraction ( double *&  p)

Calculate the subtraction of two parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

◆ Tangente()

void FFaMathOps::Tangente ( double *&  p)

Calculates the tangent of a parametre.

Parameters
pA pointer to a table of parametre

The result is placed in the head of the pointer p.

Variable Documentation

◆ ErrVal

const double FFaMathOps::ErrVal = tan(atan(1.0)*2.0)
extern

Special value to interpreted as an error condition.