An auxilary data type to describe a cube.
Here: The origin is the corner from which on the cube is spanned with the given length in each direction.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | origin(3) | ||||
real(kind=rk), | public | :: | center(3) | ||||
real(kind=rk), | public | :: | extent | ||||
real(kind=rk), | public | :: | halfwidth |