version 0.6.0

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...
 

Detailed Description

Function/Subroutine Documentation

◆ cg3_flood_polyhedron()

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:

  • Diot, S., & François, M. M. (2016). An interface reconstruction method based on an analytical formula for 3D arbitrary convex cells. Journal of Computational Physics, 305, 63-74. doi:10.1016/j.jcp.2015.10.011
Parameters
[in]polyhedronany convex polyhedron. Must be fully initialized.
[in]normalflood direction
[in]volumeprescribed volume to flood
[out]polyhedron_fullpart of polyhedron flooded with prescribed volume
[out]polyhedron_emptyempty part of polyhedron
[out]polygoncap polygon