|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Calculates the partial volume of a body under a specified plane. More...
Public Member Functions | |
| subroutine | ffa_partial_volume (bodyIndex, normal, z0, Vb, As, C0b, C0s, ierr) |
Calculates the partial volume of a body under a specified plane.
| [in] | bodyIndex | Handle of the body to calculate for |
| [in] | normal | Normal vector of the intersecting plane |
| [in] | z0 | Position of the intersection plane along the normal |
| [out] | Vb | Volume of the portion of the body below the plane |
| [out] | As | Area of the intersection between the body and the plane |
| [out] | C0b | Centroid of the volume portion below the plane |
| [out] | C0s | Centroid of the intersection area |
| [out] | ierr | Error indicator |
| subroutine ffabodyhandlerinterface::ffa_partial_volume::ffa_partial_volume | ( | integer, intent(in) | bodyIndex, |
| real(dp), dimension(3), intent(in) | normal, | ||
| real(dp), intent(in) | z0, | ||
| real(dp), intent(out) | Vb, | ||
| real(dp), intent(out) | As, | ||
| real(dp), dimension(3), intent(out) | C0b, | ||
| real(dp), dimension(3), intent(out) | C0s, | ||
| integer, intent(out) | ierr | ||
| ) |