Octopus
box_shape_oct_m Module Reference

Data Types

interface  box_shape_shape_contains_points
 
type  box_shape_t
 Base class for more specialized boxes that are defined by a shape and have a center and basis vectors. More...
 

Functions/Subroutines

recursive logical function, dimension(1:nn) box_shape_contains_points (this, nn, xx)
 
subroutine, public box_shape_init (this, namespace, dim, center, bounding_box_min, bounding_box_max, axes)
 
real(real64) function, dimension(2, this%dim) box_shape_bounds (this, axes)
 Returns the bounding box of the shape. This is a bounding box aligned with some given axes (if present) or with the Cartesian axes. Note that in both cases we are returning the bounding box of the bounding box aligned with the axes that define the orientation of the shape in space. This is not optimal, but should be acceptable in most cases and in any case it is always possible to override this method in the children class. More...
 
subroutine, public box_shape_end (this)
 

Function/Subroutine Documentation

◆ box_shape_contains_points()

recursive logical function, dimension(1:nn) box_shape_oct_m::box_shape_contains_points ( class(box_shape_t), intent(in)  this,
integer, intent(in)  nn,
real(real64), dimension(:,:), intent(in), contiguous  xx 
)
private

Definition at line 161 of file box_shape.F90.

◆ box_shape_init()

subroutine, public box_shape_oct_m::box_shape_init ( class(box_shape_t), intent(inout)  this,
type(namespace_t), intent(in)  namespace,
integer, intent(in)  dim,
real(real64), dimension(dim), intent(in)  center,
real(real64), dimension(dim), intent(in)  bounding_box_min,
real(real64), dimension(dim), intent(in)  bounding_box_max,
real(real64), dimension(dim, dim), intent(in), optional  axes 
)

Definition at line 174 of file box_shape.F90.

◆ box_shape_bounds()

real(real64) function, dimension(2, this%dim) box_shape_oct_m::box_shape_bounds ( class(box_shape_t), intent(in)  this,
class(basis_vectors_t), intent(in), optional  axes 
)
private

Returns the bounding box of the shape. This is a bounding box aligned with some given axes (if present) or with the Cartesian axes. Note that in both cases we are returning the bounding box of the bounding box aligned with the axes that define the orientation of the shape in space. This is not optimal, but should be acceptable in most cases and in any case it is always possible to override this method in the children class.

Definition at line 220 of file box_shape.F90.

◆ box_shape_end()

subroutine, public box_shape_oct_m::box_shape_end ( class(box_shape_t), intent(inout)  this)

Definition at line 270 of file box_shape.F90.