Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Implements an Octree. More...
Data Types | |
type | oct_ptr_t |
type | oct_t |
Defines an octree octant. More... | |
type | octree_t |
Defines an octree. More... | |
Functions/Subroutines | |
subroutine | octree_init (t, width) |
Initialize an octree. | |
subroutine | octree_free (t) |
Destroy an octree. | |
subroutine | octree_insert (t, p) |
Insert a point p into the octree. | |
logical function | octree_find (t, p) |
Find a point p in an octree. | |
recursive subroutine | octree_oct_insert (o, p) |
Insert a point p into the octree rooted at o. | |
recursive integer function | octree_oct_find (o, p) |
Find the octant containing a point p. | |
subroutine | octree_oct_init (o, origin, width, level) |
Initialize an octant width a given width, origin and level. | |
recursive subroutine | octree_free_oct (o) |
Deallocate an oct in an octree. | |
pure integer function | octree_oct (oct, point) |
Return the octant for a given point. | |
pure logical function | octree_oct_inside (oct, point) |
Return if a point is inside an octant. | |
Fast search/lookup of points
|
private |
Definition at line 83 of file octree.f90.
Definition at line 196 of file octree.f90.
|
private |
Definition at line 151 of file octree.f90.
|
private |
Definition at line 111 of file octree.f90.