FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Functions/Subroutines
ffabodyhandlerinterface Module Reference

Fortran interface for FFaBodyHandler methods. More...

Data Types

interface  ffa_body
 Creates a new body by reading the specified CAD-file. More...
 
interface  ffa_get_nofaces
 Calculates the number of faces for the specified body. More...
 
interface  ffa_get_face
 Finds the vertex coordinates of a specified body face. More...
 
interface  ffa_partial_volume
 Calculates the partial volume of a body under a specified plane. More...
 
interface  ffa_total_volume
 Calculates the total volume of a body. More...
 
interface  ffa_save_intersection
 Stores internally the vertices of current intersection surface. More...
 
interface  ffa_inc_area
 Calculates the increment in the intersection area. More...
 
interface  ffa_erase_bodies
 Deletes all bodies in the internal cache. More...
 

Functions/Subroutines

subroutine ffa_initbody (fileName, bodyIndex)
 Creates a new body by reading the specified CAD-file. More...
 

Detailed Description

Fortran interface for FFaBodyHandler methods.

Function/Subroutine Documentation

◆ ffa_initbody()

subroutine ffabodyhandlerinterface::ffa_initbody ( character(len=*), intent(in)  fileName,
integer, intent(out)  bodyIndex 
)

Creates a new body by reading the specified CAD-file.

Parameters
[in]fileNameName of the CAD-file to read
[out]bodyIndexHandle of the created body (negative on error)