Functions/Subroutines | |
pure subroutine, public | mod_cg3_flood_polyhedron::cg3_flood_polyhedron (polyhedron, normal, volume, polyhedron_full, polyhedron_empty, polygon) |
Flood algorithm based on Diot & Francois 2016 publication. More... | |
pure subroutine, public mod_cg3_flood_polyhedron::cg3_flood_polyhedron | ( | type(t_polyhedron), intent(in) | polyhedron, |
double precision, dimension(3), intent(in) | normal, | ||
double precision, intent(in) | volume, | ||
type(t_polyhedron), intent(out) | polyhedron_full, | ||
type(t_polyhedron), intent(out), optional | polyhedron_empty, | ||
type(t_chained_polygon), intent(out), optional | polygon | ||
) |
Reference:
[in] | polyhedron | any convex polyhedron. Must be fully initialized. |
[in] | normal | flood direction |
[in] | volume | prescribed volume to flood |
[out] | polyhedron_full | part of polyhedron flooded with prescribed volume |
[out] | polyhedron_empty | empty part of polyhedron |
[out] | polygon | cap polygon |