MFC: Post-Process
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_model.fpp.f90 File Reference

Modules

module  m_model
 

Functions/Subroutines

impure subroutine m_model::s_read_stl_binary (filepath, model)
 This procedure reads a binary STL file.
 
impure subroutine m_model::s_read_stl_ascii (filepath, model)
 This procedure reads an ASCII STL file.
 
impure subroutine m_model::s_read_stl (filepath, model)
 This procedure reads an STL file.
 
impure subroutine m_model::s_read_obj (filepath, model)
 This procedure reads an OBJ file.
 
impure type(t_model) function, public m_model::f_model_read (filepath)
 This procedure reads a mesh from a file.
 
impure subroutine m_model::s_write_stl (filepath, model)
 This procedure writes a binary STL file.
 
impure subroutine m_model::s_write_obj (filepath, model)
 This procedure writes an OBJ file.
 
impure subroutine, public m_model::s_model_write (filepath, model)
 This procedure writes a binary STL file.
 
subroutine, public m_model::s_model_free (model)
 This procedure frees the memory allocated for an STL mesh.
 
impure logical function m_model::f_read_line (iunit, line)
 
impure subroutine m_model::s_skip_ignored_lines (iunit, buffered_line, is_buffered)
 
impure real(wp) function, public m_model::f_model_is_inside (model, point, spacing, spc)
 This procedure, recursively, finds whether a point is inside an octree.
 
elemental logical function m_model::f_intersects_triangle (ray, triangle)
 This procedure checks if a ray intersects a triangle.
 
subroutine, public m_model::f_check_boundary (model, boundary_v, boundary_vertex_count, boundary_edge_count)
 This procedure checks and labels edges shared by two or more triangles facets of the 2D STL model.
 
subroutine, public m_model::f_register_edge (temp_boundary_v, edge, edge_index, edge_count)
 This procedure appends the edge end vertices to a temporary buffer.
 
subroutine, public m_model::f_check_interpolation_2d (boundary_v, boundary_edge_count, spacing, interpolate)
 This procedure check if interpolates is needed for 2D models.
 
subroutine, public m_model::f_check_interpolation_3d (model, spacing, interpolate)
 This procedure check if interpolates is needed for 3D models.
 
subroutine, public m_model::f_interpolate_2d (boundary_v, boundary_edge_count, spacing, interpolated_boundary_v, total_vertices)
 This procedure interpolates 2D models.
 
impure subroutine, public m_model::f_interpolate_3d (model, spacing, interpolated_boundary_v, total_vertices)
 This procedure interpolates 3D models.
 
subroutine, public m_model::f_distance_normals_3d (model, point, normals, distance)
 This procedure determines the levelset distance and normals of the 3D models without interpolation.
 
real(wp) function, public m_model::f_distance (boundary_v, boundary_edge_count, point)
 This procedure determines the levelset distance of 2D models without interpolation.
 
subroutine, public m_model::f_normals (boundary_v, boundary_edge_count, point, normals)
 This procedure determines the levelset normals of 2D models without interpolation.
 
subroutine, public m_model::f_tri_area (tri, tri_area)
 This procedure calculates the barycentric facet area.
 
real(wp) function, public m_model::f_interpolated_distance (interpolated_boundary_v, total_vertices, point)
 This procedure determines the levelset of interpolated 2D models.