MFC: Pre-Process
High-fidelity multiphase flow simulation
|
Functions/Subroutines | |
program | __m_model_fpp_f90__ |
subroutine | s_read_stl_binary (filepath, model) |
This procedure reads a binary STL file. | |
subroutine | s_read_stl_ascii (filepath, model) |
This procedure reads an ASCII STL file. | |
subroutine | s_read_stl (filepath, model) |
This procedure reads an STL file. | |
subroutine | s_read_obj (filepath, model) |
This procedure reads an OBJ file. | |
type(t_model) function | f_model_read (filepath) |
This procedure reads a mesh from a file. | |
subroutine | s_write_stl (filepath, model) |
This procedure writes a binary STL file. | |
subroutine | s_write_obj (filepath, model) |
This procedure writes an OBJ file. | |
subroutine | s_model_write (filepath, model) |
This procedure writes a binary STL file. | |
subroutine | s_model_free (model) |
This procedure frees the memory allocated for an STL mesh. | |
logical function | f_read_line (iunit, line) |
subroutine | s_skip_ignored_lines (iunit) |
real(kind(0d0)) function | f_model_is_inside (model, point, spacing, spc) |
This procedure, recursively, finds whether a point is inside an octree. | |
logical function | f_intersects_triangle (ray, triangle) |
This procedure checks if a ray intersects a triangle. | |
program __m_model_fpp_f90__ |
|
private |
This procedure checks if a ray intersects a triangle.
ray | Ray. |
triangle | Triangle. |
|
private |
This procedure, recursively, finds whether a point is inside an octree.
model | Model to search in. |
point | Point to test. |
spacing | Space around the point to search in (grid spacing). |
spc | Number of samples per cell. |
|
private |
This procedure reads a mesh from a file.
filepath | Path to the file to read. |
|
private |
|
private |
This procedure frees the memory allocated for an STL mesh.
|
private |
This procedure writes a binary STL file.
filepath | Path to the file to write. |
triangles | Triangles to write. |
|
private |
This procedure reads an OBJ file.
|
private |
This procedure reads an STL file.
|
private |
This procedure reads an ASCII STL file.
|
private |
This procedure reads a binary STL file.
|
private |
|
private |
This procedure writes an OBJ file.
|
private |
This procedure writes a binary STL file.