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

Go to the source code of this file.

Data Types

interface  aabb::merge
 Merge two aabbs. More...
 
interface  aabb::intersection
 Intersect two aabbs. More...
 
type  aabb::aabb_t
 Axis Aligned Bounding Box (aabb) data structure. More...
 

Modules

module  aabb
 Axis Aligned Bounding Box (aabb) implementation in Fortran.
 

Functions/Subroutines

type(aabb_t) function, public aabb::get_aabb (object, padding)
 Construct the aabb of a predefined object. More...
 
subroutine aabb::add_padding (this, padding)
 Add padding to the aabb. More...
 
type(aabb_t) function aabb::get_aabb_element (object)
 Get the aabb of an arbitrary element. More...
 
type(aabb_t) function aabb::get_aabb_mesh (object)
 Get the aabb of a mesh. More...
 
type(aabb_t) function aabb::get_aabb_tri_mesh (object)
 Get the aabb of a triangular mesh. More...
 
type(aabb_t) function aabb::get_aabb_tet_mesh (object)
 Get the aabb of a tetrahedral mesh. More...
 
subroutine aabb::aabb_init (this, lower_left_front, upper_right_back)
 Initialize the aabb. More...
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_min (this)
 Get the minimum point of the aabb. More...
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_max (this)
 Get the maximum point of the aabb. More...
 
pure real(kind=dp) function aabb::aabb_get_width (this)
 Get the width of the aabb. Also known as the x-axis length. More...
 
pure real(kind=dp) function aabb::aabb_get_depth (this)
 Get the depth of the aabb. Also known as the y-axis length. More...
 
pure real(kind=dp) function aabb::aabb_get_height (this)
 Get the height of the aabb. Also known as the z-axis length. More...
 
pure real(kind=dp) function aabb::aabb_get_diameter (this)
 Get the diameter length of the aabb. More...
 
pure real(kind=dp) function aabb::aabb_get_surface_area (this)
 Get the surface area of the aabb. More...
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_center (this)
 Get the center of the aabb. More...
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_diagonal (this)
 Get the diagonal of the aabb. More...
 
logical function aabb::aabb_overlaps (this, other)
 Check if two aabbs are overlapping. More...
 
logical function aabb::aabb_contains_other (this, other)
 Check if this aabb contains another aabb. More...
 
logical function aabb::aabb_contains_point (this, p)
 Check if this aabb contains a point. More...
 
type(aabb_t) function aabb::merge_aabb (box1, box2)
 Merge two aabbs. More...
 
type(aabb_t) function aabb::intersection_aabb (box1, box2)
 Get the intersection of two aabbs. More...
 
pure real(kind=dp) function aabb::calculate_surface_area (this)
 Calculate the surface area of the aabb. More...
 
pure logical function aabb::aabb_less (this, other)
 Less than comparison operator. More...
 
pure logical function aabb::aabb_greater (this, other)
 Greater than comparison operator. More...