CELIA3D
1.0
Fluid-structure interaction using cut-cells
|
Definition of the functions in class Solide. Specific coupling procedures are preceded by a "warning" sign. More...
Data Structures | |
struct | Mat3x3 |
struct | Vect3 |
Macros | |
#define | SOLIDE_CPP |
Functions | |
double | signe (const double x) |
Sign function. More... | |
void | rot (Mat3x3 &a, const double s, const double tau, const int i, const int j, const int k, const int l) |
Function rot for subroutine jacobi3x3. More... | |
void | jacobi3x3 (Mat3x3 &a, Vect3 &d, Mat3x3 &v, int &nrot) |
Diagonalization of a 3x3 matrix a using Jacobi's method. More... | |
double | Error (Solide &S1, Solide &S2) |
Compute the error for the semi-implicit scheme. More... | |
void | Copy_f_m (Solide &S1, Solide &S2) |
Copy values of fluid forces Ff and torques Mf from S2 to S1. More... | |
bool | inside_box (const Bbox &cell, const Point_3 &P) |
Check whether point P is in the Bbox cell. More... | |
bool | inside_convex_polygon (const Particule &S, const Point_3 &P) |
Check whether point P is inside the convex polygon S. More... | |
bool | box_inside_convex_polygon (const Particule &S, const Bbox &cell) |
Check whether cell is fully contained in S. More... | |
bool | box_inside_tetra (const Tetrahedron &tetra, const Bbox &cell) |
Check whether cell is fully contained in tetra. More... | |
Variables | |
const double | eps_relat =0.000001 |
Definition of the functions in class Solide. Specific coupling procedures are preceded by a "warning" sign.
#define SOLIDE_CPP |
Check whether cell is fully contained in S.
Returns true if cell is fully contained in S and false otherwise.
S | Particule |
cell | Bbox |
bool box_inside_tetra | ( | const Tetrahedron & | tetra, |
const Bbox & | cell | ||
) |
Check whether cell is fully contained in tetra.
Returns true if cell is fully contained in tetra and false otherwise.
tetra | Tetrahedron |
cell | Bbox |
Check whether point P is in the Bbox cell.
Returns true if P is inside cell and false otherwise.
cell | Bbox |
P | Point_3 |
Check whether point P is inside the convex polygon S.
Returns true if P is inside S and false otherwise.
S | Particule |
P | Point_3 |
Diagonalization of a 3x3 matrix a using Jacobi's method.
taken from Numerical Recipes C++
a | Matrix diagonalized |
d | Eigenvalues diagonal |
v | Eigenvector matrix |
nrot | Number of Jacobi iterations |
|
inline |
Function rot for subroutine jacobi3x3.
|
inline |
Sign function.
const double eps_relat =0.000001 |