Octopus
box_intersection_oct_m::box_intersection_t Interface Reference

Class implementing a box that is an intersection other boxes. Note that the we do not override the bounds method of multibox, although formally it returns the bounds of an union of boxes. The reason is that the proper calculation of the bounds of an intersection of boxes would be complicated and would require detailed knowleged of each box shape. Since the main purpose of the function is to create bounding boxes, using the bounds of the union of boxes is a reasonable approximation. More...

Detailed Description

Class implementing a box that is an intersection other boxes. Note that the we do not override the bounds method of multibox, although formally it returns the bounds of an union of boxes. The reason is that the proper calculation of the bounds of an intersection of boxes would be complicated and would require detailed knowleged of each box shape. Since the main purpose of the function is to create bounding boxes, using the bounds of the union of boxes is a reasonable approximation.

Definition at line 139 of file box_intersection.F90.

Inheritance diagram for box_intersection_oct_m::box_intersection_t:
Inheritance graph

Private Member Functions

procedure contains_points => box_intersection_contains_points
 
procedure write_info => box_intersection_write_info
 
procedure short_info => box_intersection_short_info
 
final box_intersection_finalize
 

Additional Inherited Members

- Public Attributes inherited from multibox_oct_m::multibox_t
type(box_list_t), public list
 list containing the boxes that make up this multibox More...
 
- Public Attributes inherited from box_oct_m::box_t
integer, public dim
 dimensions of the space the box lives in More...
 
real(real64), dimension(:), allocatable, public bounding_box_l
 Half lengths of the bounding box that contains the box. Note that this box always contains the origin and is symmetrical with respect to it. More...
 

Member Function/Subroutine Documentation

◆ contains_points()

procedure box_intersection_oct_m::box_intersection_t::contains_points
private

Definition at line 142 of file box_intersection.F90.

◆ write_info()

procedure box_intersection_oct_m::box_intersection_t::write_info
private

Definition at line 143 of file box_intersection.F90.

◆ short_info()

procedure box_intersection_oct_m::box_intersection_t::short_info
private

Definition at line 144 of file box_intersection.F90.

◆ box_intersection_finalize()

final box_intersection_oct_m::box_intersection_t::box_intersection_finalize
finalprivate

Definition at line 145 of file box_intersection.F90.


The documentation for this interface was generated from the following file: