![]() |
COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Static functions for various useful operations. More...
Functions | |
| Real | signum (const Real &value) |
| Real | sign (const Real &value) |
| Real | change_sign (const Real &value, const Real &newSignValue) |
| Real | heavyside (const Real &value) |
| template<class T1 , class T2 > | |
| Real | get_distance (const T1 &n1, const T2 &n2) |
| Uint | factorial (const Uint &n) |
| template<class T1 , class T2 , class T3 , class T4 > | |
| Real | mixed_product (const T1 &v1, const T2 &v2, const T3 &v3, T4 &temp) |
| template<class T1 , class T2 , class T3 > | |
| void | cross_product (const T1 &v1, const T2 &v2, T3 &result) |
| template<class T1 , class T2 > | |
| Real | inner_product (const T1 &v1, const T2 &v2) |
| template<class T1 , class T2 , class T3 > | |
| void | tensor_product (const T1 &v1, const T2 &v2, T3 &m) |
Static functions for various useful operations.
|
inline |
Change the sign of the first argument with the sign of the second argument
| value | the value of this will be returned |
| newSignValue | the sign of what will be returned |
Definition at line 125 of file Functions.hpp.
|
inline |
Cross Product for vector*vector operations
| v1 | first vector |
| v2 | second vector |
| result | vector storing the result |
Definition at line 181 of file Functions.hpp.
Calculate the factorial
| n | calculate factorial of this number |
Definition at line 155 of file Functions.hpp.
|
inline |
Calculate the euclidean distance between two "points"
Definition at line 140 of file Functions.hpp.
|
inline |
Heavyside function
| value | is real |
Definition at line 131 of file Functions.hpp.
|
inline |
Internal Product for vector*vector operations \( s = v \cdot v1 \). Objects must be of same size.
| v1 | first vector |
| v2 | second vector |
Definition at line 197 of file Functions.hpp.
|
inline |
Mixed Product of three vectors
| v1 | first vector |
| v2 | second vector |
| v3 | third vector |
| temp | temporary vector |
Definition at line 165 of file Functions.hpp.
|
inline |
Sign function
| value | the real to which infer the sign |
Definition at line 118 of file Functions.hpp.
|
inline |
Signum function
| value | the real to which infer the sign |
Definition at line 110 of file Functions.hpp.
|
inline |
Tensor Product for vector*vector operations \( s = v \cdot v1 \).
| v1 | [in] first vector |
| v2 | [in] second vector |
| v3 | [out] the tensor product of the two given vectors |
Definition at line 210 of file Functions.hpp.
1.8.9.1
|
Send comments to: COOLFluiD Web Admin |