Neko  0.9.99
A portable framework for high-order spectral element flow simulations
signed_distance.f90 File Reference

Go to the source code of this file.

Modules

module  signed_distance
 Module containing Signed Distance Functions.
 

Functions/Subroutines

subroutine, public signed_distance::signed_distance_field (field_data, object, max_distance)
 Signed distance field. More...
 
subroutine signed_distance::signed_distance_field_tri_mesh (field_data, mesh, max_distance)
 Signed distance field for a triangular mesh. More...
 
real(kind=dp) function signed_distance::tri_mesh_brute_force (mesh, p, max_distance)
 Signed distance function. More...
 
real(kind=dp) function signed_distance::tri_mesh_aabb_tree (tree, object_list, p, max_distance)
 Signed distance function using an AABB tree. More...
 
subroutine signed_distance::element_distance (element, p, distance, weighted_sign)
 Main interface for the signed distance function for an element. More...
 
subroutine signed_distance::element_distance_triangle (triangle, p, distance, weighted_sign)
 Signed distance function for a triangle. More...
 
pure real(kind=dp) function, dimension(3) signed_distance::cross (a, b)
 Compute cross product of two vectors. More...