Octopus
box_intersection_oct_m Module Reference

Data Types

interface  box_intersection_t
 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...
 

Functions/Subroutines

class(box_intersection_t) function, pointer box_intersection_constructor (dim)
 
subroutine box_intersection_finalize (this)
 
recursive logical function, dimension(nn) box_intersection_contains_points (this, nn, xx)
 
subroutine box_intersection_write_info (this, iunit, namespace)
 
character(len=box_info_len) function box_intersection_short_info (this, unit_length)
 

Function/Subroutine Documentation

◆ box_intersection_constructor()

class(box_intersection_t) function, pointer box_intersection_oct_m::box_intersection_constructor ( integer, intent(in)  dim)
private

Definition at line 155 of file box_intersection.F90.

◆ box_intersection_finalize()

subroutine box_intersection_oct_m::box_intersection_finalize ( type(box_intersection_t), intent(inout)  this)
private

Definition at line 173 of file box_intersection.F90.

◆ box_intersection_contains_points()

recursive logical function, dimension(nn) box_intersection_oct_m::box_intersection_contains_points ( class(box_intersection_t), intent(in)  this,
integer, intent(in)  nn,
real(real64), dimension(:,:), intent(in), contiguous  xx 
)
private

Definition at line 184 of file box_intersection.F90.

◆ box_intersection_write_info()

subroutine box_intersection_oct_m::box_intersection_write_info ( class(box_intersection_t), intent(in)  this,
integer, intent(in), optional  iunit,
type(namespace_t), intent(in), optional  namespace 
)
private

Definition at line 213 of file box_intersection.F90.

◆ box_intersection_short_info()

character(len=box_info_len) function box_intersection_oct_m::box_intersection_short_info ( class(box_intersection_t), intent(in)  this,
type(unit_t), intent(in)  unit_length 
)
private

Definition at line 226 of file box_intersection.F90.