Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
subroutine aabb::add_padding (this, padding)
 Add padding to the aabb.
 
type(aabb_t) function aabb::get_aabb_element (object)
 Get the aabb of an arbitrary element.
 
type(aabb_t) function aabb::get_aabb_mesh (object)
 Get the aabb of a mesh.
 
type(aabb_t) function aabb::get_aabb_tri_mesh (object)
 Get the aabb of a triangular mesh.
 
type(aabb_t) function aabb::get_aabb_tet_mesh (object)
 Get the aabb of a tetrahedral mesh.
 
subroutine aabb::aabb_init (this, lower_left_front, upper_right_back)
 Initialize the aabb.
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_min (this)
 Get the minimum point of the aabb.
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_max (this)
 Get the maximum point of the aabb.
 
pure real(kind=dp) function aabb::aabb_get_width (this)
 Get the width of the aabb. Also known as the x-axis length.
 
pure real(kind=dp) function aabb::aabb_get_depth (this)
 Get the depth of the aabb. Also known as the y-axis length.
 
pure real(kind=dp) function aabb::aabb_get_height (this)
 Get the height of the aabb. Also known as the z-axis length.
 
pure real(kind=dp) function aabb::aabb_get_diameter (this)
 Get the diameter length of the aabb.
 
pure real(kind=dp) function aabb::aabb_get_surface_area (this)
 Get the surface area of the aabb.
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_center (this)
 Get the center of the aabb.
 
pure real(kind=dp) function, dimension(3) aabb::aabb_get_diagonal (this)
 Get the diagonal of the aabb.
 
logical function aabb::aabb_overlaps (this, other)
 Check if two aabbs are overlapping.
 
logical function aabb::aabb_contains_other (this, other)
 Check if this aabb contains another aabb.
 
logical function aabb::aabb_contains_point (this, p)
 Check if this aabb contains a point.
 
type(aabb_t) function aabb::merge_aabb (box1, box2)
 Merge two aabbs.
 
type(aabb_t) function aabb::intersection_aabb (box1, box2)
 Get the intersection of two aabbs.
 
pure real(kind=dp) function aabb::calculate_surface_area (this)
 Calculate the surface area of the aabb.
 
pure logical function aabb::aabb_less (this, other)
 Less than comparison operator.
 
pure logical function aabb::aabb_greater (this, other)
 Greater than comparison operator.