Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
octree.f90 File Reference

Go to the source code of this file.

Data Types

type  octree::oct_ptr_t
 
type  octree::oct_t
 Defines an octree octant. More...
 
type  octree::octree_t
 Defines an octree. More...
 

Modules

module  octree
 Implements an Octree.
 

Functions/Subroutines

subroutine octree::octree_init (t, width)
 Initialize an octree.
 
subroutine octree::octree_free (t)
 Destroy an octree.
 
subroutine octree::octree_insert (t, p)
 Insert a point p into the octree.
 
logical function octree::octree_find (t, p)
 Find a point p in an octree.
 
recursive subroutine octree::octree_oct_insert (o, p)
 Insert a point p into the octree rooted at o.
 
recursive integer function octree::octree_oct_find (o, p)
 Find the octant containing a point p.
 
subroutine octree::octree_oct_init (o, origin, width, level)
 Initialize an octant width a given width, origin and level.
 
recursive subroutine octree::octree_free_oct (o)
 Deallocate an oct in an octree.
 
pure integer function octree::octree_oct (oct, point)
 Return the octant for a given point.
 
pure logical function octree::octree_oct_inside (oct, point)
 Return if a point is inside an octant.