CELIA3D
1.0
Fluid-structure interaction using cut-cells
|
Intersection of the fluid grid with the solid. More...
Functions | |
double | intersect_cube_tetrahedron (const Bbox &cube, const Tetrahedron &Tet, double &temps_intersections, double &temps_triangulation) |
Intersection of a bounding box with a tetrahedron. More... | |
double | intersect_cube_tetrahedron_bis (const Bbox &cube, const Tetrahedron &Tet, double &temps_intersections, double &temps_triangulation) |
Alternative version of the intersection of a cube with a tetrahedron. More... | |
Intersection of the fluid grid with the solid.
double intersect_cube_tetrahedron | ( | const Bbox & | cube, |
const Tetrahedron & | Tet, | ||
double & | temps_intersections, | ||
double & | temps_triangulation | ||
) |
Intersection of a bounding box with a tetrahedron.
Intersection of the cubic bounding box cube with tetrahedron Tet. Returns the volume of the intersection. This function is called in the swept quantity calculation.
Algorithm:
cube | Box 3d |
Tet | Tetrahedron |
double intersect_cube_tetrahedron_bis | ( | const Bbox & | cube, |
const Tetrahedron & | Tet, | ||
double & | temps_intersections, | ||
double & | temps_triangulation | ||
) |
Alternative version of the intersection of a cube with a tetrahedron.