Octopus
box_shape_oct_m::box_shape_t Type Reference

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

Detailed Description

Base class for more specialized boxes that are defined by a shape and have a center and basis vectors.

Definition at line 134 of file box_shape.F90.

Inheritance diagram for box_shape_oct_m::box_shape_t:
Inheritance graph

Public Attributes

real(real64), dimension(:), allocatable, public center
 where is the box centered More...
 
type(basis_vectors_t), public axes
 Unit vectors used to define the orientation of the shape in space. 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...
 

Private Member Functions

procedure contains_points => box_shape_contains_points
 
procedure bounds => box_shape_bounds
 
procedure(box_shape_shape_contains_points), deferred shape_contains_points
 

Private Attributes

real(real64), dimension(:,:), allocatable bounding_box
 Start and end points of the axes-aligned bounding box. The axes are the one that define the orientation of the shape in space (see above). More...
 

Member Function/Subroutine Documentation

◆ contains_points()

procedure box_shape_oct_m::box_shape_t::contains_points
private

Definition at line 142 of file box_shape.F90.

◆ bounds()

procedure box_shape_oct_m::box_shape_t::bounds
private

Definition at line 143 of file box_shape.F90.

◆ shape_contains_points()

procedure(box_shape_shape_contains_points), deferred box_shape_oct_m::box_shape_t::shape_contains_points
private

Definition at line 144 of file box_shape.F90.

Member Data Documentation

◆ center

real(real64), dimension(:), allocatable, public box_shape_oct_m::box_shape_t::center

where is the box centered

Definition at line 136 of file box_shape.F90.

◆ axes

type(basis_vectors_t), public box_shape_oct_m::box_shape_t::axes

Unit vectors used to define the orientation of the shape in space.

Definition at line 137 of file box_shape.F90.

◆ bounding_box

real(real64), dimension(:,:), allocatable box_shape_oct_m::box_shape_t::bounding_box
private

Start and end points of the axes-aligned bounding box. The axes are the one that define the orientation of the shape in space (see above).

Definition at line 138 of file box_shape.F90.


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